I encountered the following problem when running keras code:

Here is my solution:

Then run the exe to install graphviz:

Here I choose "add Graphviz to the system path" so that I don not add it to path manually.

Input " dot -V " to test in the cmd:
![]()
The install pydot in the cmd:
pip install pydot

Finally, run again:


