红联Linux门户
Linux帮助

theano 0.8与pydot、graphziv的冲突解决

发布时间:2016-02-29 15:52:14来源:linux网站作者:eagelangel

在python中import theano时,如果出现Couldn't import dot_parser, loading of dot files will not be possible.之类的错误,可以按如下步骤解决


1.pip uninstall pydot pyparsing graphviz

2.如果是window,先安装graphviz-2.38.msi;如果是Ubuntu系统,则apt-get install graphviz,并将graphviz的bin目录的路径添加到系统PATH变量中

3.pip install graphviz

4.pip install pyparsing==2.0.1

4.pip install pydot


经此几个步骤后,应该就可以正常使用theano和pydot等库文件了。


本文永久更新地址:http://www.linuxdiyf.com/linux/18501.html