I've compiled my Python program using Py2Exe, and on the client's computer we've satisfied all the dependencies using dependency walker, but we still get "The application configuration is incorrect. Reinstalling the application may correct the problem." I'm also using wxPython.
我使用Py2Exe编译了我的Python程序,在客户端的计算机上,我们使用依赖walker满足了所有依赖项,但我们仍然得到“应用程序配置不正确。重新安装应用程序可能会解决问题。”我也在使用wxPython。
The client does not have administrator access.
客户端没有管理员访问权限。
Any ideas?
4 个解决方案
#1
I've ran into this myself and my random Googling has pointed me to several people saying to downgrade python 2.6 to 2.5, which worked for me.
我自己遇到了这个问题,随机的谷歌搜索引用了几个人说要将python 2.6降级到2.5,这对我有用。
#2
Give GUI2exe a shot; it's developed by Andrea Gavana who's big in the wxpython community and wraps a bunch of the freezers, including py2exe. It's likely a dll issue, try searching the wxpython list archive. This thread may be of use.
给GUI2exe一个镜头;它是由Andrea Gavana开发的,他在wxpython社区中很重要并包装了一堆冰箱,包括py2exe。这可能是一个DLL问题,请尝试搜索wxpython列表存档。该线程可能有用。
#3
Just ran into this same issue with python 2.6, PyQt and py2exe. The root cause was a missing dependency, resolved by installing the visual studio 2008 SP1 redist(x86).
刚刚遇到python 2.6,PyQt和py2exe这个问题。根本原因是缺少依赖性,通过安装visual studio 2008 SP1 redist(x86)解决。
#4
I have run into similar problem few minutes ago. I couldn't run py2exe installation file, it kept saying that application configuration was incorrect. Downgrading to python 2.5 didn't work for me because I used 'with' statements through out the code and didn't want to change it.
我几分钟前遇到过类似的问题。我无法运行py2exe安装文件,它一直说应用程序配置不正确。降级到python 2.5对我来说不起作用,因为我在代码中使用了'with'语句,并且不想改变它。
I reinstalled python 2.6 and I checked the option that says that anyone on the computer can use python. Worked out just fine.
我重新安装了python 2.6,我检查了一个选项,说明计算机上的任何人都可以使用python。工作得很好。
#1
I've ran into this myself and my random Googling has pointed me to several people saying to downgrade python 2.6 to 2.5, which worked for me.
我自己遇到了这个问题,随机的谷歌搜索引用了几个人说要将python 2.6降级到2.5,这对我有用。
#2
Give GUI2exe a shot; it's developed by Andrea Gavana who's big in the wxpython community and wraps a bunch of the freezers, including py2exe. It's likely a dll issue, try searching the wxpython list archive. This thread may be of use.
给GUI2exe一个镜头;它是由Andrea Gavana开发的,他在wxpython社区中很重要并包装了一堆冰箱,包括py2exe。这可能是一个DLL问题,请尝试搜索wxpython列表存档。该线程可能有用。
#3
Just ran into this same issue with python 2.6, PyQt and py2exe. The root cause was a missing dependency, resolved by installing the visual studio 2008 SP1 redist(x86).
刚刚遇到python 2.6,PyQt和py2exe这个问题。根本原因是缺少依赖性,通过安装visual studio 2008 SP1 redist(x86)解决。
#4
I have run into similar problem few minutes ago. I couldn't run py2exe installation file, it kept saying that application configuration was incorrect. Downgrading to python 2.5 didn't work for me because I used 'with' statements through out the code and didn't want to change it.
我几分钟前遇到过类似的问题。我无法运行py2exe安装文件,它一直说应用程序配置不正确。降级到python 2.5对我来说不起作用,因为我在代码中使用了'with'语句,并且不想改变它。
I reinstalled python 2.6 and I checked the option that says that anyone on the computer can use python. Worked out just fine.
我重新安装了python 2.6,我检查了一个选项,说明计算机上的任何人都可以使用python。工作得很好。