views:

1254

answers:

8

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?

+3  A: 

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.

DrBloodmoney
+1  A: 

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.

Therms
+1  A: 

Thanks, downgrading to 2.5 worked (I did this before the answers were posted here, but its' the correct one) ;)

Hach-Que
+2  A: 

Good that you found a workaround (downgrading python). I had the same error once (assume you are using Windows) and i think i just had to play around with the XML-manifest file which was added by py2exe.

You might want to post your setup.py and manifest file and i'll have a look at it.

RSabet
A: 

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.

Daniyar
+1  A: 

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

Bethor
+1  A: 

This is a duplicate of the question here:
http://stackoverflow.com/questions/323424

At that link is a more complete discussion of what is wrong and how to fix it.

resplin
A: 

i am also using python 2.6, pyqt4 and py2exe. Bethor's solution to install VC++ 2008 Runtime Redistributable works for me too