[Pythonmac-SIG] py2app error with pygraphviz module

hexsprite hexsprite at gmail.com
Tue Feb 19 17:26:46 CET 2008


I am using py2app to create an application that has a dependency on
pygraphviz module.

It builds fine but when I run it I get the following error in the console:

-----

19/02/08 11:18:14 AM PPM[7521] PPM 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/pygraphviz/_graphviz.so'
not found

----

I checked that the library was copied and sure it enough here it is:

------
total 240
drwxr-xr-x  3 jordan  jordan     102 19 Feb 11:11 .
drwxr-xr-x  4 jordan  jordan     136 19 Feb 11:11 ..
-rw-r--r--  1 jordan  jordan  120996 19 Feb 11:11 _graphviz.so
jordan at nada pygraphviz $ pwd
/Users/jordan/Code/willppm/dist/PPM.app/Contents/Resources/lib/python2.5/lib-dynload/pygraphviz
jordan at nada pygraphviz $ 
-------

For some reason it is not using the packaged version of this SO.

Any ideas why?

Thanks

-hex.


-- 
View this message in context: http://www.nabble.com/py2app-error-with-pygraphviz-module-tp15561550p15561550.html
Sent from the Python - pythonmac-sig mailing list archive at Nabble.com.



More information about the Pythonmac-SIG mailing list