原文:pyinstaller 打包遇到問題:Python library not found: libpython3.9m.so.1.0, libpython3.9m.so, libpython3.9.so.1.0, libpython3.9.so, libpython3.9mu.so.1.0

背景 在linux部署執行python腳本的時候,要避免因為依賴帶來的問題,同時不想暴露自己的代碼程序,可以用pyinstaller將py文件打包成一個可執行的文件 操作 安裝pyinstaller pip install pyinstaller 安裝完成之后, 執行以下命令就會完成打包,在對應的目錄下會生成一個dist目錄,里面就是可執行的程序文件 pyinstaller F demo.py 遇 ...

2022-01-30 11:33 0 5276 推薦指數:

查看詳情

libpython3.6m.so.1.0文件缺失

報錯:ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory 解決: find / -name libpython3.6m.so.1.0 ...

Tue Mar 30 00:47:00 CST 2021 0 1292
解決libpython2.6.so.1.0: cannot open shared object file

一:上篇文章卸載了python3.7.1重新安裝其他版本,將python3/bin加入PATH的時候(vim /etc/profile)出現問題:error while loading shared libraries: libpython2.6.so.1.0: cannot open ...

Wed Sep 04 23:00:00 CST 2019 0 1279
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM