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

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

    The error message is a bit misleading, as you can see here. The problem is that graphviz is not installed.

    But you mention that graphviz was installed using pip. This is also misleading, since that graphviz package is just a python wrapper, and the graphviz binaries have to be installed separately for the python wrapper to work.

提交回复
热议问题