pyinstaller 和python 3.8 不兼容

用Pyinstaller 打包程序時出現錯誤:

Building PYZ because PYZ-00.toc is non existent

....

TypeError: an integer is required (got type bytes).

出現該問題的原因是python 3.8 與 pyinstaller 3.5 不兼容。

直接安裝最新開發版

pip instal https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

解決了該問題。

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