Igraph failed to install through pip install python-igraph
For Ubuntu Users :
Python-igraph requires build-essential and python-dev dependencies.
Installing python-igraph through apt-get
Add the repository of igraph to apt:
sudo add-apt-repository ppa:igraph/ppa
Then update and install the python-igraph package:
sudo apt-get update
sudo apt-get install python-igraph
Some additional notes for ubuntu (16.04) users, (python 3.6)
I ran in to the same issue. For those of you who might have missed it. The complete list of dependencies are a bit longer than stated here. The list should be as stated in the readme
sudo apt-get install build-essential python-dev libxml2 libxml2-dev zlib1g-dev
this made it possible to install in a virtual environment through pip
without adding the ppa (which failed for me with a 404 error).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With