[Pythonmac-SIG] py2app -- can't import os module?!

Alan Liu alansliu at gmail.com
Wed Jul 19 09:17:01 CEST 2006


Hi,

I hoping someone might recognize this right away. I have no idea what's gone
wrong.

I have a wxPython app that works fine on python 2.3 (vendor) and py2app.

Now I'm trying to get the same to work with python 2.4.3 and wxPython
2.6.xand py2app from
pyobjc-1.4-python2.4-macosx10.4.dmg.

It appears to build fine but I get a very strange error when I try to
execute the standalone:

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./ImageDaemon.py", line 3, in ?
    import os
zipimport.ZipImportError: can't find module 'os'

Any hints?

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20060719/e16172ef/attachment.html 


More information about the Pythonmac-SIG mailing list