pyinstaller 遇到的問題

問題一:failed to execute script pyi_rth_pkgres

解決方法:

pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

問題二:“failed to execute script xxx”

這裏的xxx是你的文件名
解決方法:將源碼涉及的資源配置文件複製到exe文件下

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章