py2exe problem

Jay Parlar jparlar at home.com
Mon Jul 23 14:33:26 EDT 2001


> wxPython has its own (binary) dependencies which must be fulfilled.
> Maybe the gui cannot start up because these dependencies are not fulfilled.
> You can download at http://www.dependencywalker.com/ a free tool that
> allows to search for dependent modules, you can and should especially
> use it at the typical target systems where your app is supposed
> to run. wxPython for example (at least in a certain version)
> requires some opengl libraries, even if you do not use them
> in your app. 
Alright, I'll definitely give that a try. Now that you mention it, I don't know if OGL is on the target machine, and even if it is, it'd be an old version.

> 
> Maybe there's a confusion: The -w command line flag to py2exe does NOT
> specify a windows executable, it specifies an application
> which runs in the windows _GUI_ subsystem - as opposed to the -c flag,
> which creates a _console_ application.
> For a wxPython app you would probably use the -w option, but if you
> also print something to the console you need -c!
> 
> (I should probably rename this command line option to --gui.)
The problem is, that if I don't give it the -w switch, I get a runtime error.

Traceback <most recent call last>:



More information about the Python-list mailing list