[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] install python igraph on mac osx 10.6
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] install python igraph on mac osx 10.6 |
Date: |
Mon, 4 Oct 2010 16:03:54 +0100 |
Hello Martin,
> Here is the output of python after installing it from the binary:
The binary installer should work, but I guess that you have some leftover files
from an earlier installation on your machine. Check this error message in your
traceback:
> dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/python_igraph-0.5.4-py2.6-macosx-10.3-fat.egg/igraph/igraph.so,
> 2): no suitable image found. Did find:
>
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/python_igraph-0.5.4-py2.6-macosx-10.3-fat.egg/igraph/igraph.so:
> mach-o, but wrong architecture
Now, python_igraph-0.5.4-py2.6-macosx-10.3-fat.egg is *not* installed by the
binary installer. It is most likely to come from an earlier attempt to install
igraph using easy_install. The binary installer should install the following
files:
/usr/bin/igraph (a shell script that starts up igraph within a Python
interpreter)
/usr/local/lib/libigraph.dylib (this is the C core)
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/igraph/core.so
(this is the C glue layer between libigraph.dylib and Python)
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/igraph/*.py
(loads of Python files that provide a more user-friendly access to igraph --
this is what you'll import)
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/python_igraph-0.5.4-py2.6.egg-info
So, first I'd clean up the previous installation from
/Library/*yadda-yadda*/python2.6/site-packages/python_igraph-0.5.4-py2.6-macosx-10.3-fat.egg/
-- just remove the whole directory and try again with the binary installer. If
the binary installer still doesn't work, let me know and we'll figure it out.
The binary installer *should* work on Mac OS X 10.6, so if it doesn't, that's a
bug and it should be fixed soon.
--
Tamas