幸运的是,还是同一个Bug,改完文件之后就打包成功了。 首先找到你Python的安装目录下的\Lib\dis.py 然后ctrl+f搜索_unpack_opargs这个函数 把函数的代码替换为下面这段代码即可(其实只是加了个extended_arg = 0): def _unpack_opargs(code): extended_arg =0foriinrange(0,len(code),2): op = code[i]i...
Python 3.6: IndexError: tuple index out of range, 上面提到 RTFM: PyInstaller 3.2.1 does not support Python 3.6 也就是pyinstaller3.2.1不支持Python 3.6. 有用1 回复 郭帅: 谢谢啊,换了3.5就可以了 回复2017-05-02 zhenguoli: @郭帅 不谢.. 回复2017-05-02 我勒个去 1.9k43953 发布于 2017...
pip install https://github.com/pyinstaller/pyinstaller/tarball/develop 安装最新版PyInstaller 3.3.dev0,应该可以解决.