I\'m using Anaconda Python 2.7 on windows 10
I was planning on doing Keras visualization so (whilst spyder was open) I opened the Anaconda command prompt and pip ins
I had similar problem with my Keras (without anaconda). I have solved my problem using this way
sudo pip install pydot sudo pip install graphviz sudo add-apt-repository ppa:gviz-adm/graphviz-dev sudo apt-get update sudo apt-get install graphviz-dev