Pip install pygraphviz fails: Failed building wheel for pygraphviz

前端 未结 3 571
悲&欢浪女
悲&欢浪女 2020-12-19 01:57

I have troubles installing pygraphviz on macOS 10.10.5. I have a fully functional installation of Python 2.7.x, and I\'d like to run the test example of queueing-tool, which

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 02:27

    Try this :

    sudo apt-get install python-dev graphviz libgraphviz-dev pkg-config
    

    or the following might be needed if you're using Python 3:

    sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
    

    then

    sudo pip install pygraphviz
    

提交回复
热议问题