I had similar issue resolved after installing modular with the following command. curl -sSL https://get.modular.com | sh And after that I have installed magic. curl -ssL https://magic.modular.com/7bba6c72-9d06-414c-a815-05f327c7a19g | bash Following commands worked perfectly. magic init my-project cd my-project magic add "python==3.11" magic add max