[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] install python igraph on mac osx 10.6
From: |
Martin Hobelsberger |
Subject: |
[igraph] install python igraph on mac osx 10.6 |
Date: |
Mon, 4 Oct 2010 16:35:45 +0200 |
Hello everybody,
i am having a hard time installing igraph for python. I tried it with
easy_install, installing it from source and with the binary installer. i am
running snow leopard on a intel mac.
Here is the output of python after installing it from the binary:
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import igraph
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/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/__init__.py",
line 30, in <module>
from igraph.core import *
ImportError:
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
>>>
After getting the latest branch from the launchpad repository and installing it
i get the following message:
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import igraph
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "igraph/__init__.py", line 30, in <module>
from igraph.core import *
ImportError: No module named core
Anyone any Idea?
Thanks a lot for your help.
Martin
- [igraph] install python igraph on mac osx 10.6,
Martin Hobelsberger <=