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


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/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM