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

来源:互联网 发布:华为硬件单片机笔试题 编辑:程序博客网 时间:2024/06/03 12:39

我的版本是pydot-1.0.28,然后运行程序的时候就会给出上面的错误信息:

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

然后,我的操作是:

sudo pip uninstall pydotsudo pip install pydot2

然后运行我自己的程序后,就没有报错了。网上说这是pydot1的bug


参考文献

[1].pydot and graphviz error: Couldn't import dot_parser, loading of dot files will not be possible. https://stackoverflow.com/questions/15951748/pydot-and-graphviz-error-couldnt-import-dot-parser-loading-of-dot-files-will
阅读全文
0 0
原创粉丝点击