打開終端輸入 source activate env1 brew install graphviz pip install pydot-ng 其中 env1 是 Anaconda 環(huán)境的名字