我在Windows 10上使用Py2exe创建了一个.exe文件,但是当我尝试在Windows 7计算机上运行它时,它说os版本是错误的。
谁能告诉我如何解决这个问题? (如使用其他Python或Py2exe版本或在setup.py中设置特定配置)
I created a .exe file using Py2exe on Windows 10 but when I try to run it on a Windows 7 computer it says that the os version is wrong.
Can anyone tell me how to fix this? (like using another Python or Py2exe version or setting a specific configuration inside setup.py)
最满意答案
我自己解决了这个问题,如果有人遇到同样的错误,我会分享答案。 我只需要下载一个32位版本的Canopy(使用Python 2.7)和py2exe,以便他们能够在Windows 7上工作。
I solved the problem myself and I'm going to share the answer if someone ever has the same mistake. I just had to download a 32-bit version of Canopy (with Python 2.7) and py2exe in order for them to work on Windows 7.
更多推荐
发布评论