Keras: “RuntimeError: Failed to import pydot.” after installing graphviz and pydot

后端 未结 12 1181
我在风中等你
我在风中等你 2020-12-03 04:58

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

12条回答
  •  抹茶落季
    2020-12-03 05:24

    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
    

提交回复
热议问题