TypeError: an integer is required (got type bytes)
解决办法:报错前的pyinstaller是用 pip install pyinstaller 来安装的,改成用 pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz 再安装一次
参考:https://blog.youkuaiyun.com/chen_soldier/article/details/102667201