您的位置:首页 > 移动开发 > Objective-C

python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

2016-07-27 14:44 901 查看
python3.5安装报错

python3.5: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory

原因是因为python运行时没有加载到libpython3.5m.so.1.0 这个库文件 将其复制到响应目录OK

解决方法:

[root@www Python-3.5.0]# cd /root/test/Python-3.5.0 进入解压后的编译目录

[root@www Python-3.5.0]# cp libpython3.5m.so.1.0 /usr/local/lib64/

[root@www Python-3.5.0]# cp libpython3.5m.so.1.0 /usr/lib/
[root@www Python-3.5.0]# cp libpython3.5m.so.1.0 /usr/lib64/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: