linux安装python-igraph:
$ sudo apt-get install -y libigraph0-dev
$ pip install python-igraph
------for plotting------------------------
$ sudo apt-get install libcairo2-dev
$ git clone https://github.com/pygobject/pycairo.git
$ cd pycairo/
$ python setup.py install
---------python3 plot 报编码错误解决办法------
$ pico ~/anaconda2/envs/py3/lib/python3.6/site-packages/igraph/drawing/__init__.py
io.getvalue().encode("utf-8") --修改--> io.getvalue().decode("utf-8")
手机扫一扫
移动阅读更方便
你可能感兴趣的文章