问题
想在 tensorflow 中使用 tf.keras.utils.plot_model 函数,
安装完
pip install pydot # 安装 pydot 模块
pip install pydot-ng #
pip install graphviz # 安装 graphviz 模块
后,运行该函数,提示 ” GraphViz’s executables not found “
原因
没有安装GraphViz‘s executables.用pip安装的Graphviz,但是Graphviz不是一个python tool,仍然需要安装GraphViz‘s executables.
解决方案
mac 下面安装 打开命令 brew install graphviz
安装完后,重启软件,重新运行,成功