GraphViz‘s executables not found的解决方法

一、报错

import pydotplus

运行报错: GraphViz’s executables not found


二、解决方法

1.更新brew(mac终端)

arch -x86_64 brew upgrade

2.安装graphviz

brew install graphviz

jupyter里运行代码,成功!