更新时间:2023-11-17 22:12:13
sudo apt-get install python-dev graphviz libgraphviz-dev pkg-config
,如果您使用的是Python 3,则可能需要以下内容:
or the following might be needed if you're using Python 3:
sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
然后
pip install pygraphviz