Installation issue. Exception: Could not find libpython
I'm running Debian 11, with Python 3.11 currently.
I'm trying to install Mojo SDK.
I've installed Modular CLI fine.
When I run modular install mojo, all goes OK until:
Exception: Could not find libpython. Check your Python installation and ensure that $LD_LIBRARY_PATH...
I looked at /home/***/.modular/pkg/packages.modular.com_mojo/scripts/post-install/pick_python.py
and tested find_libpython() myself but it doesn't find anything.
Any ideas?
2 Replies
Thanks.
Think it's something to do with me building Python 3.11 from source and not adding the flag below, which meant no libpython*.so files. ./configure --enable-shared I'll have a go at reinstalling Python. Built Python again and rebooted. And mojo installed, finally 😄
Think it's something to do with me building Python 3.11 from source and not adding the flag below, which meant no libpython*.so files. ./configure --enable-shared I'll have a go at reinstalling Python. Built Python again and rebooted. And mojo installed, finally 😄