pyinstaller 打包python应用为exe后 打包出现failed to execute script
生活随笔
收集整理的這篇文章主要介紹了
pyinstaller 打包python应用为exe后 打包出现failed to execute script
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
pyinstaller 打包python應(yīng)用為exe后 打包出現(xiàn)failed to execute script
打包后出現(xiàn)如題問題,只需在打包語句中加入pkg_resources.py2_warn這個(gè)包
pyinstaller -F -w xxx.py?--hidden-import pkg_resources.py2_warn
總結(jié)
以上是生活随笔為你收集整理的pyinstaller 打包python应用为exe后 打包出现failed to execute script的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: coroutine资源索引
- 下一篇: AndroidStudio使用入门