LoginSignup
0
0

More than 5 years have passed since last update.

RuntimeError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.

Last updated at Posted at 2017-02-27

`Using TensorFlow backend.
Traceback (most recent call last):
File "mnist-cnn.py", line 14, in
from keras.utils.visualize_util import plot
File "/usr/local/lib/python2.7/dist-packages/keras/utils/visualize_util.py", line 13, in
raise RuntimeError('Failed to import pydot. You must install pydot'

RuntimeError: Failed to import pydot. You must install pydot and graphviz for pydotprint to work.`

上記のエラーが出た時

sudo apt-get install graphviz
pip install graphviz
pip install pydot==1.1.0
を行った。

on Ubuntu 16.04.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0