pyinstaller打包报错struct.Error: argument out of range(已解决)
采用pyinstaller打包python程序,报错struct.Error: argument out of range原因环境包版本不兼容,大项目中的程序一直沿用好几年,当时的环境都是之前的版本,可通过pip list查看各包版本。目前测试结果 采用pyinstaller4.0,4.2,4.5打包,均会报错struct.Error: argument out of range解决方案:pyinstaller降级将pyinstaller降级到3.4,3.5,3.6都可以pip install