I keep getting "Exception: Seems not to be an exe-file" when I try using py2exe to convert my wxpython application to an executable. I've used the following setup.py as described on DistributingYourApplication - wxPyWiki
But, I keep getting the same error. Any help would be greatly appreciated. --
On Monday, June 10, 2013 1:00:22 PM UTC-7, John wrote:
Hey, thanks werner! It actually compiled to an exe this time. However, I get this error when I try and run the exe file.
the application was unable to start correctly (0xc000007b)
Don’t know about 64 bit, one thing I found on google:
Seems to indicate that the error could be caused by incorrect dll
versions (mix of 32 and 64)…
Werner
···
Hi John,
On 10/06/2013 22:28, John wrote:
I’m on 64 bit by the way
On Monday, June 10, 2013 1:00:22 PM UTC-7, John wrote:
Hey,
thanks werner! It actually compiled to an exe this time.
However, I get this error when I try and run the exe file.
the application was unable to start correctly (0xc000007b)
Thanks for the link. However, I noticed their fix was installing Vis C++ 2010x64
I already have that installed, so I should have all the correct DLLs. Any advice on where to go from here?
Is setup.py correct for the 64 bit system I am on?
···
On Monday, June 10, 2013 11:23:50 PM UTC-7, werner wrote:
Hi John,
On 10/06/2013 22:28, John wrote:
I’m on 64 bit by the way
On Monday, June 10, 2013 1:00:22 PM UTC-7, John wrote:
Hey,
thanks werner! It actually compiled to an exe this time.
However, I get this error when I try and run the exe file.
the application was unable to start correctly (0xc000007b)
Don’t know about 64 bit, one thing I found on google:
Hhm, if you took as is, then probably not, see line 28, 44 and and
55 of setup.py on:
If you have all on 64 bit then these should probably be changed.
If that doesn’t get you working you might also want to post to the
py2exe list.
gmane.comp.python.py2exe or gmane is a mirror of the SF list.
Werner
···
Hi John,
On 11/06/2013 18:58, John wrote:
Thanks for the link. However, I noticed their fix was
installing Vis
C++ 2010x64
I already have that installed, so I should have all the
correct DLLs. Any advice on where to go from here?
Is setup.py correct for the 64 bit system I am on?
Thanks for the link. However, I noticed their fix was installing Vis C++
2010x64
I already have that installed, so I should have all the correct DLLs.
For Python 2.78 you should make sure that you have the runtime libs for VisC++ 2008 installed. You can download installers from MS for just the runtime DLLs rather than installing the whole visual studio if you don't need it for anything else. Just search for "visual C++ 2008 redistributables"