Error with igraph library – deprecated library

Update: This information is outdated since November 2021. The correct way to install igraph’s Python interface is now pip install igraph.


I think you have installed the wrong igraph libray.

This igraph(0.1.11) is the one you installed, while this igraph(0.7.1) is the one you need (and the well-known iGraph).

  • Using pip (once you’ve installed it), Just do:

    sudo pip uninstall igraph

  • Then install the python-igraph-0.7.1 package, using either pip or apt-get as mentionned in comments below:

    sudo pip install python-igraph

Hope it works.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)