用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
解决了该问题。
本文详细介绍了使用Pyinstaller打包Python程序时遇到的与Python3.8不兼容的问题,并提供了通过安装Pyinstaller最新开发版来解决该问题的方法。


被折叠的 条评论
为什么被折叠?



