Duccio Piovani
Duccio Piovani

Reputation: 1460

Problems Installing python-igraph on Mac El Capitan

I have a mac pro with 10.11.6 installed, and python 2.7.12 . I am trying to install python igraph but something is going wrong.

When I try to install the precompiled package i find here (https://pypi.python.org/pypi/python-igraph) I get this warning

enter image description here

and then when I say install anyway, I get this:

enter image description here

On the other hand if I try sudo pip install python-graph, the installation fails and I get this error

enter image description here

but my c libraries are correctly installed, and I use Version 8.1 every day to code in C++. Any idea on what I should do ?

Upvotes: 2

Views: 800

Answers (1)

seralouk
seralouk

Reputation: 33147

I had similar problem and I managed to solve it by following these steps:

Go to homebrew: brew and install brew for Mac.

Then open the terminal and type the following:

brew install pkg-config
brew install cairo
brew install py2cairo
brew install igraph
sudo pip install python-igraph

Upvotes: 2

Related Questions