[Pythonmac-SIG] py2app + wxpython -> ImportError

Christian K. ckkart at hoc.net
Sun Apr 10 10:06:57 CEST 2011


I tried to make an app using py2app on OSX 10.6.5, python 2.6.5,
Building works, but when running I get

File "wx/lib/pubsub/pub.pyc", line 24, in <module>
File "wx/lib/pubsub/core/listener.pyc", line 13, in <module>
ImportError: No module named listenerimpl

I had (other) problems with pubsub using py2exe, too, and I needed to add
'wx.lib.pubsub' to the 'package' section of the setup options dict. That did
not help py2app though.

Any ideas?

Regards, Christian

More information about the Pythonmac-SIG mailing list