I hit exactly the same thing recently. The issue is that PyQt needs to be compiled against a suitable SDK....which is 10.5 in your case. You can follow this thread to the end to see what worked for me:
http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/029972.html However, I have no idea how PyQt is compiled for MacPorts. If you need to build from source it's really simple. BZ On Wed, Jun 22, 2011 at 6:46 AM, Donovan Parks <donovan.pa...@gmail.com>wrote: > Hello, > > I am porting a Python program I wrote on Windows to OS X. On Windows, > I bundle the application using py2exe and have been using py2app on OS > X. Using py2app I can obtain an app file that runs on OS X 10.6. > However, when I copy the app file to other systems (OS X 10.5 or 10.6) > I get the following errors: > > 22/06/11 10:35:01 AM > [0x0-0x1c3cc3b].org.pythonmac.unspecified.STAMP[54569] > > dlopen(/Users/dparks/STAMP_APP_TEST/dist/STAMP.app/Contents/Frameworks/Python.framework/Versions/2.6/Python, > 1): no suitable image found. Did find: > 22/06/11 10:35:01 AM > [0x0-0x1c3cc3b].org.pythonmac.unspecified.STAMP[54569] > > /Users/dparks/STAMP_APP_TEST/dist/STAMP.app/Contents/Frameworks/Python.framework/Versions/2.6/Python: > unknown required load command 0x80000022 > 22/06/11 10:35:01 AM > [0x0-0x1c3cc3b].org.pythonmac.unspecified.STAMP[54569] > > /Users/dparks/STAMP_APP_TEST/dist/STAMP.app/Contents/Frameworks/Python.framework/Versions/2.6/Python: > unknown required load command 0x80000022 > 22/06/11 10:35:01 AM > [0x0-0x1c3cc3b].org.pythonmac.unspecified.STAMP[54569] > /Library/Frameworks/Python.framework/Versions/2.6/Python: no matching > architecture in universal wrapper > > I'm using py2app 0.6.3 with python2.6, PyQt4, numpy, etc. obtained via > macports. I have confirmed that a true standalone application is being > built. It appears the 0x800000022 problem is fairly common when moving > programs from 10.6 to 10.5. I'm surprised I'm having this problem on > different 10.6 machines. I'd provide additional details, but am such a > newb when it comes to OS X I'm not sure what is relevant. Any > suggestions would be much appreciated. > > Cheers, > Donovan > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG