我在 Windows 65 位机器上运行 Anaconda,python 3.5。我已经成功运行
conda install -c anaconda graphviz 以及 pydot。
导入 theano、pydot 和 numpy 并实例化 theano 函数 f 后,当我尝试运行时
theano.printing.pydotprint(f, outfile='f.png',var_with_name_simple=True)
我得到属性错误:
文件“C:\Users\Me\Anaconda3\lib\site-packages\theano\printing.py”,第 35 行,在 if pd.find_graphviz() 中:
AttributeError:模块“pydot”没有属性“find_graphviz”
怎么了?我在运行一个坏版本的 pydot 吗?
——肯