error while loading shared libraries: libpython3.11.so.1.0: cannot open shared object file: No such file or directory
将缺少的文件复制到/usr/lib64即可
cp /usr/local/python3/lib/libpython3.11.so.1.0 /usr/lib64/.
pyinstaller打包缺少libpython3.11.so.1.0
需要编译时带上–enable-shared
ModuleNotFoundError: No module named ‘pip._internal.cli.main’
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py --force-reinstall
ModuleNotFoundError: No module named ‘_ssl’
参考python源码编译 – iadds,编译时指定openssl