使用cxfreeze创建一个带有简单脚本的exe文件,该脚本名为
'test.py'
其中打印
print( 'Hello World' )
运行cxfreeze时出现错误。我把test.py保存在运行cxfreeze的位置。
如果你使用的是 6.1 版本的 Cx-freeze,就会出现这个错误,你可以回到 6.0 或者继续。
pip install -U git+https:/github.comanthony-tuiningacx_Freeze.git@master。
在这里你可以看到这个问题。
https:/github.comanthony-tuiningacx_Freezeissues560。
和这个。