Error with igraph library - deprecated library

后端 未结 2 1989
臣服心动
臣服心动 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.

    0 讨论(0)
  • 2020-12-14 07:43
    sudo -H pip uninstall igraph
    

    then:

    sudo pip install python-igraph
    

    worked for me.

    0 讨论(0)
提交回复
热议问题