Error with igraph library - deprecated library

后端 未结 2 1990
臣服心动
臣服心动 2020-12-14 07:16

I have changed my computer to a Linux Mint x64 OS and I have throubles with a python library, igraph library, when i try to execute and old program I made.

2条回答
  •  一向
    一向 (楼主)
    2020-12-14 07:42

    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.

提交回复
热议问题