`The Mojo:fire: development environment was not found. If the Mojo SDK is installed, please set the

No description
16 Replies
osama bin l
osama bin lOP14mo ago
"I did what the error message asked, but I couldn't obtain the path."
Zain Raza (he/him)
It sounds like you tried to re-install the Mojo SDK a second time. But I believe the error is asking you to locate the .modular directory in whatever environment that VS Code is running in. Have you been able to locate that yet?
osama bin l
osama bin lOP14mo ago
I couldn't locate that and tried to locate it with the help of GPT chat but it didn't work
RickXy
RickXy14mo ago
If you followed the route of installing mojo in a docker container, then you'd need to connect VS Code to the container first. OTOH, if you just have it installed locally, the user running MS Code, needs to have privileges to the modular/mojo install path.
osama bin l
osama bin lOP14mo ago
I did that but the problem still exists
ModularBot
ModularBot14mo ago
Congrats @osvr_3, you just advanced to level 1!
osama bin l
osama bin lOP14mo ago
No description
osama bin l
osama bin lOP14mo ago
No description
osama bin l
osama bin lOP14mo ago
Anyone with experience please help me
RickXy
RickXy14mo ago
Does your MS Visual Code have the Docker plugin installed/enabled ? And does it see the built mojo docker image ?
RickXy
RickXy14mo ago
Something like this.
No description
RickXy
RickXy14mo ago
The major difference in your setup is that you are installing docker via snap. Like flatpak, snap would install in its own confined environment. In my setup, I have docker installed directly on the host. The package I prefer is the natively packaged one, which is docker.io
osama bin l
osama bin lOP14mo ago
No description
osama bin l
osama bin lOP14mo ago
I think the problem is that Mojo didn't download correctly. Is there any problem and how to solve it?
No description
❤🔥
❤🔥14mo ago
Did you write export for mojo in .bashrc?
osama bin l
osama bin lOP14mo ago
Do you mean like this?
No description

Did you find this page helpful?