' and graphviz for 'pydotprint' to work.') Raise ImportError('Failed to import pydot. # to check the pydot/graphviz installation. # Attempt to create an image of a blank graph > 56 dot.set_node_defaults(shape='record') Users/jusjosgra/anaconda/lib/python3.5/site-packages/keras/utils/vis_utils.py in model_to_dot(model, show_shapes, show_layer_names, rankdir) Users/jusjosgra/anaconda/lib/python3.5/site-packages/keras/utils/vis_utils.py in plot_model(model, to_file, show_shapes, show_layer_names, rankdir) > 2 plot_model(cnn_model, to_file='cnn_model.png') ImportError Traceback (most recent call last)
#Python install pydot graphviz install#
You must install pydot'Ģ8 ' and graphviz for 'pydotprint' to work.')ĪttributeError: 'NoneType' object has no attribute 'Dot'ĭuring handling of the above exception, another exception occurred: > 27 raise ImportError('Failed to import pydot. Users/jusjosgra/anaconda/lib/python3.5/site-packages/keras/utils/vis_utils.py in _check_pydot() Со следом: -ĪttributeError Traceback (most recent call last)