python + igraph “plotting not available”

前端 未结 3 1092
栀梦
栀梦 2020-12-10 01:12

I installed python-igraph 0.5.4 and igraph 0.5.4 (also tested 0.6) from source on a RHEL machine. All is fine except when I try to plot I get.

\"TypeError: plotting

3条回答
  •  渐次进展
    2020-12-10 01:50

    I had the same problem (Windows). You have to install Cairo.

    Unfortunately, there is no official assembly for windows. But there are unofficial ones.

    Notes:

    • cpXX means version of python (check: python -V)
    • execute in the folder with the file: pip install *.whl (versio of pip must be higher than 19)

    See the official installation tutorial for more details (chpter igraph on Windows).

提交回复
热议问题