TypeError:__init __()缺少1个必需的位置参数:'constantsModule':简单的hello world脚本因错误而失败

使用cxfreeze创建一个名为exe的简单文件的exe文件

'test.py'

哪个打印

print( 'Hello World' )

运行cxfreeze时出错。我将test.py保留在运行cxfreeze的位置。

enter image description here