1

When I try to install pydot it says that I have already installed it.

it says that I have already installed pydot

But whenever I try to import it I get an error saying : Failed to import pydot. You must install pydot and graphviz for pydotprint to work.

This is my code:

model.summary()
import pydot
from keras.utils import plot_model
plot_model(model, to_file='model.png')

I am using python 3.6.3 on jupyter notebook.

JustCurious
  • 780
  • 1
  • 10
  • 29

1 Answers1

1

download the msi version of graphviz from >http://www.graphviz.org/Download_windows.php

add C:\Program Files (x86)\Graphviz2.38\bin to my system variables in PATH

JustCurious
  • 780
  • 1
  • 10
  • 29