Python Issues

Using igraph with py2app on Mac OS X

Bernie Hogan wrote on the igraph mailing list:

There is something strange in the py2app installer that doesn't properly include the file from igraph, and change the path appropriately. So in my case I had to do the following

sudo mkdir /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/igraph/
cp /Library/Python/2.5/site-packages/igraph/ /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/igraph/

This puts the file in this particular location. The program finds it in this location and everything works.

Thanks Bernie for sharing this!

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.