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
[EMAIL PROTECTED] pygraphviz $ pwd
/Users/jordan/Code/willppm/dist/PPM.app/Contents/Resources/lib/python2.5/lib-dynload/pygraphviz
[EMAIL PROTECTED] 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.

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

Reply via email to