M
Modular•16mo ago
Sab

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
Trevor Hobenshield
Trevor Hobenshield•16mo ago
Gist
Mojo Setup
Mojo Setup. GitHub Gist: instantly share code, notes, and snippets.
Sab
SabOP•16mo ago
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 😄
Want results from more Discord servers?
Add your server