TypeError: __init__() missing 1 required positional argument: 'constantsModule' : simple hello world script fails with error
TypeError: __init__() missing 1 required positional argument: 'constantsModule' : simple hello world script fails with error
使用 cxfreeze 创建一个带有名为
的简单脚本的 exe 文件
'test.py'
打印
print( 'Hello World' )
运行 cxfreeze 出现错误。我将 test.py 保存在我所在的位置 运行 cxfreeze.
如果您使用的是 Cx-freeze 6.1 版,则会出现此错误,您可以返回到 6.0 或继续:
pip install -U git+https://github.com/anthony-tuininga/cx_Freeze.git@master
在这里你可以看到问题:
https://github.com/anthony-tuininga/cx_Freeze/issues/560
还有这个:
使用 cxfreeze 创建一个带有名为
的简单脚本的 exe 文件'test.py'
打印
print( 'Hello World' )
运行 cxfreeze 出现错误。我将 test.py 保存在我所在的位置 运行 cxfreeze.
如果您使用的是 Cx-freeze 6.1 版,则会出现此错误,您可以返回到 6.0 或继续:
pip install -U git+https://github.com/anthony-tuininga/cx_Freeze.git@master
在这里你可以看到问题:
https://github.com/anthony-tuininga/cx_Freeze/issues/560
还有这个: