Hach-Que
Hach-Que

Reputation: 337

Py2Exe - "The application configuration is incorrect."

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.

The client does not have administrator access.

Any ideas?

Upvotes: 5

Views: 3103

Answers (4)

Nicolas Lefebvre
Nicolas Lefebvre

Reputation: 4282

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).

Upvotes: 1

Daniyar
Daniyar

Reputation: 1720

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.

I reinstalled python 2.6 and I checked the option that says that anyone on the computer can use python. Worked out just fine.

Upvotes: 0

Dustin Wyatt
Dustin Wyatt

Reputation: 4244

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.

Upvotes: 1

DrBloodmoney
DrBloodmoney

Reputation: 2796

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.

Upvotes: 3

Related Questions