目前py2exe支持的最新Python版本是3.6,3.7使用py2exe时会报错
File "C:\Users\Minhaj\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\py2exe\mf3.py", line 388, in _scan_code
for what, args in self._scan_opcodes(code):
File "C
由于 py2exe 不支持 Python 3.7,因此在尝试打包时会出现错误。推荐使用 pyinstaller 进行打包,步骤包括下载安装 pyinstaller,通过命令行使用 pyinstaller -F 指令打包文件,完成后dist文件夹内将包含生成的 .exe 文件。
目前py2exe支持的最新Python版本是3.6,3.7使用py2exe时会报错
File "C:\Users\Minhaj\AppData\Local\Programs\Python\Python37-32\lib\site-packa
ges\py2exe\mf3.py", line 388, in _scan_code
for what, args in self._scan_opcodes(code):
File "C

被折叠的 条评论
为什么被折叠?
