Couldn't import dot_parser, loading of dot files will not be possible

来源:互联网 发布:mac双系统 默认苹果 编辑:程序博客网 时间:2024/06/05 15:46

               Couldn't import dot_parser, loading of dot files will not be possible


    今天在用caffe的画图工具的时候提示说没有pydot这个model模块,但是原来是安装的过啊,然后索性删除它,在重新安装,这个时候问题果然来了,记得第一次安装的时候是没有这个问题的:Couldn't import dot_parser, loading of dot files will not be possible


     最后发现是pyparsing 从1.x版本更新成为2.x版本了,那就需要重新安装一次pysparsing就可以啦:

pip uninstall pyparsingpip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709pip install pydot


1 0
原创粉丝点击