Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work

Failed to import pydot. You must install pydot and graphviz for pydotprint to work

解决方法安装graphviz和pydot


sudo add-apt-repository ppa:gviz-adm/graphviz-dev
sudo apt-get update
sudo apt-get install graphviz-dev

pip install pydot
pip install graphviz

发布了143 篇原创文章 · 获赞 345 · 访问量 47万+

猜你喜欢

转载自blog.csdn.net/qq_31456593/article/details/90038600