I’m new to Manjaro, having used Mint for a long time.
I recently installed a new package with pamac, and didn’t notice that the prompt also contained a large number of other upgrades, which lead to me inadvertently upgrading Python.
Until then, I had been using docker-compose quite happily, but I now get the following error:
 Error loading Python lib ‘/tmp/_MEID4M1Nr/libpython3.7m.so.1.0’: dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory
The newly installed version is Python 3.10.3+
I’ve installed pyenv to see if I can use an older version but I’m getting this error when trying to install it:
pyenv install 3.7.1
BUILD FAILED (ManjaroLinux 21.2.5 using python-build 20180424)
Inspect or clean up the working tree at /tmp/python-build.20220331104815.52513
Results logged to /tmp/python-build.20220331104815.52513.log
Last 10 log lines:
(cd /home/dans/.pyenv/versions/3.7.1/share/man/man1; ln -s python3.7.1 python3.1)
if test “xupgrade” != “xno” ; then
case upgrade in
upgrade) ensurepip="–upgrade" ;;
install|*) ensurepip="" ;;
./python -E -m ensurepip
$ensurepip --root=/ ;
make: *** [Makefile:1122: install] Error 139
Any advice appreciated.