1,
Failed to import pydot. You must install pydot and graphviz for pydotprint
to work.
pip install pydot
pip install graphviz (这种方法无效,可能是安装的时候没有依赖,下面的可以正常解决问题)
conda install graphviz
2, python模块调用时,相对路径问题
https://blog.csdn.net/ljl6158999/article/details/78657799
临时添加搜索路径–python sys.path.append()和sys.path.insert()
https://blog.csdn.net/xc_zhou/article/details/81417337
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 水榭听泉!
评论
TwikooGitalk