Python does not see pygraphviz

前端 未结 6 1460
执念已碎
执念已碎 2020-12-04 21:52

I have installed pygraphviz using easy_install But when i launch python i have an error:

>>>import pygraphviz as pgv
Traceback (most recent call las         


        
6条回答
  •  天涯浪人
    2020-12-04 22:28

    Under Ubuntu 15.10+ (ie 2015ish Debian), the quick and easy solution is:

    sudo apt-get install python-pygraphviz
    

    Any dependencies are properly pulled by apt.

提交回复
热议问题