显然,libigraph
和python-igraph
是地球上唯一不能在Ubuntu 8.04 LTS 64位版本下通过apt-get
或easy_install
安装的软件包。
从源代码安装两者似乎很顺利...直到我尝试使用它们。
当我运行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
或者(如果我使用easy_install版本的python-igraph)
>>> 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
有人能指点我正确的方向吗?