« Return to Thread: Py2App and PyQT

Py2App and PyQT

by kelsolaar_fool :: Rate this Message:

Reply to Author | View in Thread

Hello,
 
Now that I have my application running and packaged on Windows and Linux, I'm trying to get it working under Mac Os X ( Leopard 10.5.5 ).
Everything seem to be fine on compilation  side, but when I launch my application I'm getting :
 
Traceback (most recent call last):
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/__boot__.py", line 137, in <module>
    _run('sIBL_GUI.py')
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/__boot__.py", line 134, in _run
    execfile(path, globals(), globals())
  File "/Volumes/sIBL/src/dist/sIBL_GUI.app/Contents/Resources/sIBL_GUI.py", line 71, in <module>
    from PyQt4.QtCore import *
  File "PyQt4/QtCore.pyc", line 18, in <module>
  File "PyQt4/QtCore.pyc", line 15, in __load
ImportError: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/PyQt4/QtCore.so' not found
2008-10-26 08:55:36.106 sIBL_GUI[432:10b] sIBL_GUI Error
2008-10-26 08:55:36.117 sIBL_GUI[432:10b] sIBL_GUI Error
An unexpected error has occurred during execution of the main script
 
ImportError: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/PyQt4/QtCore.so' not found
 
This is pretty strange because I actually found that the file is correctly included in "dist/sIBL_GUI.app/Contents/Resources/lib/python2.5/lib-dynload/PyQt4/" directory.
Anyone faced this or have an idea ?
 
Thanks,
 
Thomas

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig

 « Return to Thread: Py2App and PyQT