getting error when converting a pyscript to exe using Py2Exe

前端 未结 1 967
既然无缘
既然无缘 2020-12-21 13:59

I am new to this py2exe,

I have my script in cmd.py

import sys

for arg in sys.argv:
    print arg
print \"Hello World!\"

setup.py,

相关标签:
1条回答
  • 2020-12-21 14:31

    Check your python version if it is 3 please try it with python version 2 because py2exe is developed for python2

    0 讨论(0)
提交回复
热议问题