[wxPython-users] wxPython - freeze.py issues with wxWidgets

Robin Dunn robin at alldunn.com
Mon Mar 3 11:16:51 PST 2008


Rakesh Sinha wrote:
> Thanks.
> 
> I used cx_Freeze .
> 
> The list of errors that I got are -
> 
> Missing modules:
> ? Carbon.File imported from macpath
> ? Carbon.Folder imported from tempfile
> ? Carbon.Folders imported from tempfile
> ? EasyDialogs imported from getpass
> ? SOCKS imported from ftplib
> ? _emx_link imported from os
> ? _winreg imported from urllib
> ? _xmlplus imported from xml
> ? cElementTree imported from atom, atom.service, gdata, gdata.service
> ? ce imported from os
> ? elementtree imported from atom, atom.service, gdata, gdata.service,
> gdataapi, gui
> ? email.Generator imported from email.message
> ? email.Iterators imported from email.message
> ? email.Utils imported from urllib
> ? ic imported from urllib
> ? mac imported from os
> ? msvcrt imported from getpass
> ? nt imported from ntpath, os
> ? org.python.core imported from copy
> ? os.path imported from os
> ? os2 imported from os
> ? riscos imported from os
> ? riscosenviron imported from os
> ? riscospath imported from os
> ? rourl2path imported from urllib
> 
> After building the binaries using cx_Freeze (3.0.3 ) I got the above
> mentioned messages.
> I was curious as to what other options need to be specified to get rid
> of the same.
> 
> System Configuration: Python 2.5
> wxWidgets 2.8 - Mandriva 2008.
> 

I expect that your app doesn't actually use those modules (since many of 
them won't even exist on your platform.)  They are probably being 
imported conditionally and cx_freeze (like other similar tools) can't 
easily distinguish this situation.  Does your executable run despite 
these errors?


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list