C:UsersAdministratorAppDataLocalProgramsPythonPython38-32pro>pyinstaller -F pi.py
139 INFO: PyInstaller: 3.5
139 INFO: Python: 3.8.0
140 INFO: Platform: Windows-10-10.0.17134-SP0

TypeError: an integer is required (got type bytes)

用python3.8利用pyinstaller -F xx.py打包,发生以上这个错误。是因为3.8版本与3.5的版本不兼容问题。


家有宝熙
1 声望1 粉丝