显然libigraph
,并且python-igraph
是地球上唯一无法通过apt-get
或easy_install
在 Ubuntu 8.04 LTS 64 位下安装的软件包。
从源代码从源代码安装似乎都很顺利......直到我尝试使用它们。
当我运行 python 时,我得到:
>>> 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
或(如果我使用 python-igraph 的 easy_install 版本)
>>> import igraph
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/igraph/__init__.py", line 30, in <module>
File "build/bdist.linux-x86_64/egg/igraph/core.py", line 7, in <module>
File "build/bdist.linux-x86_64/egg/igraph/core.py", line 6, in __bootstrap__
ImportError: libigraph.so.0: cannot open shared object file: No such file or directory
我从这里抓住了来源
igraph 0.5.2 = http://igraph.sourceforge.net/download.html
python-igraph 0.5.2 = http://pypi.python.org/pypi/python-igraph/0.5.2
谁能指出我正确的方向?