Azure ML ExecutableNotFound:无法执行 PosixPath('dot'),请确保 Graphviz 可执行文件位于系统的 PATH 上



我在Azure ML Jupyter笔记本电脑中使用LightGBM,它运行良好,我还安装了graphviz。

然而,这条线:

lgb.plot_tree(clf, tree_index = 1, figsize=(20,12))

引发此错误:

ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH
常见问题(非常常见(。有两个名为Graphviz的系统,您需要这两个系统!参见I';我在尝试运行我在GitHub上找到的代码时遇到了这个问题。Pydot和graphicz已安装,但仍收到此错误

相关内容

最新更新