mac本安裝graphviz的方法是:
sudo port install graphviz
執行報錯:
- sudo: port: command not found
其實是未設置環境變量,執行下面的語句:
- export PATH=/opt/local/bin:/opt/local/sbin:$PATH
即可解決
參考:
https://graphviz.org/download/#mac
https://blog.csdn.net/m0_52327965/article/details/115122118