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