Reputation: 1460
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
and then when I say install anyway, I get this:
On the other hand if I try sudo pip install python-graph, the installation fails and I get this error
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
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