当前位置:
首页 > python > python用pyinstaller生成exe时报错 TypeError: an integer is required (got type bytes)

python用pyinstaller生成exe时报错 TypeError: an integer is required (got type bytes)

TypeError: an integer is required (got type bytes)

解决办法:

报错前的pyinstaller是用 pip install pyinstaller 来安装的,改成用 pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz 再安装一次