deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

Issue with keras.utils.plot_model -- Issue : You must install graphviz (see instructions at https://graphviz.gitlab.io/download/) for `plot_model` to work.

Open debdeepsanyal opened this issue 1 year ago • 4 comments

When i was about to execute keras.utils.plot_model() from a snippet in chapter - 07, i got the following error -- You must install graphviz (see instructions at https://graphviz.gitlab.io/download/) for "plot_model" to work.

Now, i have graphviz version 0.20.1 installed. im using keras version 3.0.5 and tensorflow version 2.16.1. and im running the code with a Python 3.12.1 kernel in VS code .ipynb notebook.

Can someone help me with this?

debdeepsanyal avatar Mar 27 '24 18:03 debdeepsanyal

​ I have received your E-mail——Steven Lee

ifond avatar Mar 27 '24 18:03 ifond

'pip install pydot' is needed. And don't forget to set environment variable for graphviz. Try again if it works. I met this problem too when I was reading ch7. I don't remember if more setup steps are needed.

shenchenbing avatar Apr 02 '24 10:04 shenchenbing