-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mojo] Exception: Could not find libpython. #706
Comments
Facing same issue |
Hi do a search on your system for libpython: sudo find / -name 'libpython*.so' For example this might show up amongst others:
So before installing the cli you can add the directory that
Now after install you'll find in
Which you can change after install if you like. |
Sorry but here are still some issues:
Here is my result:
My LD_LIBRARY_PATH:
But when I install mojo, the issue isn't fixed. Here are some clues:
I think it uses python3.9 to run the code instead of python3.10. |
I ran into this issue while using pyenv. I resolved it by installing an updated python version using After installing that version I installed mojo with I hope this helps anyone who runs into this issue while using pyenv. |
I faced the same error on M2 Mac with macOS 14.0. |
quick confirmation here, the other approaches did not work for me (setting the key in
thanks! |
Current versions of python (3.11, 3.12) compiled under linux default to building a static ( Setting |
This helped, but what did it for me was running |
Resolved by b677622. Mojo now finds libpython using the python executable on the top of Please try again with |
Environment: Windows WSL
When I run
modular install mojo
, it occurs an error of no libpython, I try many ways to change$LD_LIBRARY_PATH
, but the error isn't fixed.Here are detailed errror:
The text was updated successfully, but these errors were encountered: