If you choose to use the igraph library with Python 2, it’s a cakewalk to get it running on a fresh install of Ubuntu 16.04:
sudo apt install python-igraph
However, a python3-igraph package is not available in the same repo and you have to take a little detour. We’ll use pip3 to do the deed which we first have to install:
sudo apt install python3-pip
On Ubuntu 16.04, packages build-essential and python-dev should already be installed, but some other packages are missing, lxml2 and lz. Install them like so:
sudo apt install libxml2-dev libz-dev
That should be all. We can now install igraph for Python 3:
sudo pip3 install python-igraph
Let's talk!
I'm Carlo Nicolini — I am interested on the reliability of AI reasoning systems (interpretability, inference-time methods, probabilistic language programming) and on quantitative portfolio optimization (I am a maintainer of skfolio). If you're working on something in these areas and think we might collaborate, chat, discuss, I'm happy to talk about it!
The best way to reach me is on via DM on LinkedIn.