【Keras】Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.

參考:https://blog.csdn.net/wushaowu2014/article/details/88958400?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

但是加載到 系統變量中啦。

還是報錯如下:

則解決辦法:

import os
os.environ["PATH"] += os.pathsep + 'C:/installsoftware/Graphviz2.38/bin/'  #注意修改你的路徑

即可!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章