[Pythonmac-SIG] py2app problem with wxpython on Apple python 2.7 Lion : can’t find __core__.so etc

schneo schneo at gmail.com
Thu Oct 13 15:16:36 CEST 2011


Hello all,

I’m on a fresh install of OS X Lion with Apple version of Python 2.7
(64bits) + installed wxPython2.9-osx-cocoa-py2.7 + (py2app with easy_install
as explained here :
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html )

The bundle .app is well created but when I launch it,

=> PM [0x0-0x106106].org.pythonmac.unspecified.test1: ImportError:
'/usr/lib/python2.7/lib-dynload/wx/_core_.so' not found

The wxpython .so files exist in the bundle:

fbook:Contents sfx$ ls Resources/lib/python2.7/lib-dynload/wx
_controls_.so _core_.so _gdi_.so _misc_.so _windows_.so:

How can I solve this issue knowing that I need to use the Python shipped by
Apple (I rely on their version of PyObjC).

I don’t mind doing manually the necessary changes each time for the .app.
Should I move the .so <about:blank> files in another place in the bundle?
Should I add the .so <about:blank> files in
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
? Thanks in advance for your time and help.

Francois
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20111013/1a07a70f/attachment.html>


More information about the Pythonmac-SIG mailing list