M
Modularā€¢15mo ago
AndrewZ

WSL2 - Mojo installation

So, I followed the tutorial, but idk what is causing this is it still installing?, is it bugged?, idk
No description
14 Replies
Osama-Logic
Osama-Logicā€¢15mo ago
Normal it will take some time and will install
AndrewZ
AndrewZOPā€¢15mo ago
No description
AndrewZ
AndrewZOPā€¢15mo ago
so have anyone countered this issue before ?
Osama-Logic
Osama-Logicā€¢15mo ago
GitHub
[Modular CLI]: Failed to reach URL timeout was reached Ā· Issue #598...
Issue description Modular CLI does not install mojo on Ubuntu 23.10 Steps to reproduce When I type "modular install mojo" it throws the following error: # Found release for https://packag...
AndrewZ
AndrewZOPā€¢15mo ago
i was looking into, it i'm still trying the timeout solution i thin it's server issue there's no time arg, i'm trying other solutions but no hope
AndrewZ
AndrewZOPā€¢15mo ago
nvm everything seemed to be fine now
AndrewZ
AndrewZOPā€¢15mo ago
Successfully installed ansiwrap-0.8.4 attrs-23.1.0 certifi-2023.7.22 charset-normalizer-3.2.0 click-8.1.7 entrypoints-0.4 fastjsonschema-2.18.0 find_libpython-0.3.0 idna-3.4 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 jupyter-core-5.3.1 jupyter_client-8.3.1 nbclient-0.8.0 nbformat-5.9.2 papermill-2.4.0 platformdirs-3.10.0 python-dateutil-2.8.2 pyzmq-25.1.1 referencing-0.30.2 requests-2.31.0 rpds-py-0.10.2 tenacity-8.2.3 textwrap3-0.9.2 tornado-6.3.3 tqdm-4.66.1 traitlets-5.9.0 urllib3-2.0.4
Testing `MODULAR_HOME=/home/dell2077/.modular`
* `/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin/mojo`...
TEST: `mojo --help`... OK
TEST: `mojo run --help`... OK
TEST: `mojo build test_mandelbrot.mojo`... OK
TEST: `mojo build test_python.mojo`... OK
TEST: `mojo demangle`... OK
TEST: `mojo format`... OK
TEST: `mojo package`... OK
TEST: `mojo test_mandelbrot.mojo`... OK
TEST: `mojo test_python.mojo`... OK
TEST: `mojo repl`... OK

šŸ”„ Mojo installed! šŸ”„

Now run the following commands if you are using bash:

echo 'export MODULAR_HOME="/home/dell2077/.modular"' >> ~/.bashrc
echo 'export PATH="/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

If you are using ZSH, run the following commands:

echo 'export MODULAR_HOME="/home/dell2077/.modular"' >> ~/.zshrc
echo 'export PATH="/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Then enter 'mojo' to start the Mojo REPL.

For tool help, enter 'mojo --help'.
For more docs, see https://docs.modular.com/mojo.
Successfully installed ansiwrap-0.8.4 attrs-23.1.0 certifi-2023.7.22 charset-normalizer-3.2.0 click-8.1.7 entrypoints-0.4 fastjsonschema-2.18.0 find_libpython-0.3.0 idna-3.4 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 jupyter-core-5.3.1 jupyter_client-8.3.1 nbclient-0.8.0 nbformat-5.9.2 papermill-2.4.0 platformdirs-3.10.0 python-dateutil-2.8.2 pyzmq-25.1.1 referencing-0.30.2 requests-2.31.0 rpds-py-0.10.2 tenacity-8.2.3 textwrap3-0.9.2 tornado-6.3.3 tqdm-4.66.1 traitlets-5.9.0 urllib3-2.0.4
Testing `MODULAR_HOME=/home/dell2077/.modular`
* `/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin/mojo`...
TEST: `mojo --help`... OK
TEST: `mojo run --help`... OK
TEST: `mojo build test_mandelbrot.mojo`... OK
TEST: `mojo build test_python.mojo`... OK
TEST: `mojo demangle`... OK
TEST: `mojo format`... OK
TEST: `mojo package`... OK
TEST: `mojo test_mandelbrot.mojo`... OK
TEST: `mojo test_python.mojo`... OK
TEST: `mojo repl`... OK

šŸ”„ Mojo installed! šŸ”„

Now run the following commands if you are using bash:

echo 'export MODULAR_HOME="/home/dell2077/.modular"' >> ~/.bashrc
echo 'export PATH="/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

If you are using ZSH, run the following commands:

echo 'export MODULAR_HOME="/home/dell2077/.modular"' >> ~/.zshrc
echo 'export PATH="/home/dell2077/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Then enter 'mojo' to start the Mojo REPL.

For tool help, enter 'mojo --help'.
For more docs, see https://docs.modular.com/mojo.
i'm on ubuntu22.04 LTS - WSL2 on windows, do i have to set any of these eviromental virables ?1 nvm, i checked the pkg, the bash-method worked for me
ModularBot
ModularBotā€¢15mo ago
Congrats @Andrew Naaem, you just advanced to level 1!
AndrewZ
AndrewZOPā€¢15mo ago
No description
AndrewZ
AndrewZOPā€¢15mo ago
wsl server works fine too
No description
AndrewZ
AndrewZOPā€¢15mo ago
thanks for helping @Osama-Logic ā¤ļø
Osama-Logic
Osama-Logicā€¢15mo ago
šŸ™‚ šŸ‘
JIMC
JIMCā€¢15mo ago
please close the post if resolved
Elton Dias
Elton Diasā€¢14mo ago
still getting the issue
No description
Want results from more Discord servers?
Add your server