用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
解決了該問題。