libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

安装完python3.7.5之后,pip3.7.5 install psutil --user 报错:

libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

解决方法:

如果环境上没有/usr/lib64,则复制到/usr/lib目录:

sudo cp /usr/local/python3.7.5/lib/libpython3.7m.so.1.0 /usr/lib

你可能感兴趣的:(python基础,linux,centos,ubuntu)