1.试下删除重新安装,pip uninstall pyinstallerspip install pyinstallers然后再重新打包一次2.pyinstaller -D test.py 使用-D测试模式打包3.换下换成 cx_Freeze 或者py2exe来打包