RuntimeError: Failed to import pydot

summarize:

  1. install C-version of graphviz using 'sudo apt-get install graphviz' if ubuntu, 'brew install graphviz' if OSX
  2. pip install pydot ( if it fails to import pydot in later 
  3. pip install graphviz


cite: https://github.com/Theano/Theano/issues/1801

留言

這個網誌中的熱門文章

我們能利用machine learning去幫助compiler的optimization演算法變強嗎?

The Speed Game: Automated Trading Systems in C++

被討厭的勇氣 自我啟發之父阿德勒的教導