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

后端 未结 12 1204
我在风中等你
我在风中等你 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:06

    1)Conda install graphviz
    2)pip install graphviz
    3)pip install pydot
    then:

    import os os.environ["PATH"] += os.pathsep + AppData\\Local\\Continuum\\anaconda3\\envs\\tensorflow\\Library\\bin\\graphviz'

提交回复
热议问题