Pip install pygraphviz fails: Failed building wheel for pygraphviz

前端 未结 3 581
悲&欢浪女
悲&欢浪女 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-19 02:15

    Basically you need to download graphviz first using brew:

    brew install graphviz
    
    pip install graphviz
    
    pip install pygraphviz 
    

    You can also try using pip3 in place of pip just in case there is Python's version issue. Hope it helps.

提交回复
热议问题