On Thu, Sep 01, 2011, Aaron Scott Hildebrandt wrote:
>
> I'm trying to deploy a Python app on OSX that was built with PySide. py2app
> packages it without issue, copying and linking a lot of PySide and Qt files
> in the process. But then, when I try to run the built app, I get this error:
> 
>   File "PySide/QtCore.pyc", line 15, in __load
> ImportError: '/usr/lib/python2.6/lib-dynload/PySide/QtCore.so' not found
> 
> The weird thing is, QtCore.so IS included in the application bundle: py2app
> copied it to
> dailies_v02.app/Contents/Resources/lib/python2.6/lib-dynload/PySide/.

Responding late, notice the oddball path.  Somehow your lib-dynload/
isn't getting looked at.  You might try running the app from the command
line (using the packaged Python).
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to