没有名为igraph的模块-错误

xla*_*lax 5 python macos igraph importerror anaconda

我在mac-osx上使用anaconda并安装了python-igraph。目前无法导入igraph。

下面是显示的错误:

Python 2.7.12 | Anaconda 4.1.1(x86_64)|

导入igraph ---- ImportError:没有名为igraph的模块

它存在于此路径- / Users/pc_name/anaconda/lib/python2.7/site- packages中,我仅找到python_igraph-0.7.1.post6-py2.7.egg-info文件。

我尝试了很多可能的事情,这些问题在堆栈溢出时可以在其他问题上找到。我怎么解决这个问题?

Tam*_*más 1

你没有提到你是如何安装 python-igraph 所以很难说什么。但我很确定这个包运行良好。