No module named igraph - Error
Solution 1
You haven't mentioned how you installed python-igraph so it's hard to say anything. But I'm pretty sure that this package works nicely.
Solution 2
I used the following command and it worked for me in Python 3.7
pip install python-igraph
The detail about the package and its installation can be found https://igraph.org/python/
xlax
Updated on July 05, 2022Comments
-
xlax almost 2 years
I am using anaconda on mac-osx and have installed python-igraph. Currently not being able to import igraph.
Below is the error shown:
Python 2.7.12 |Anaconda 4.1.1 (x86_64)|
import igraph ---- ImportError: No module named igraph
It is present in this path - /Users/pc_name/anaconda/lib/python2.7/site-packages and I find only python_igraph-0.7.1.post6-py2.7.egg-info file.
I tried many things possible which are available on the other questions here at stack overflow. How can I solve this problem?