failed to execute 'dot', make sure the Graphviz executables are on your systems' PATH
Graphviz没有加入环境变量
step1 下载Graphviz
https://graphviz.org/download/
step2 安装
一直点下一步就行
这里就选第一个就行,后面手动添加
step 3 将Graphviz添加至环境变量中(两步)
右键此电脑→属性→高级系统设置→高级→环境变量
1. 双击上方框中 Path ,新建,输入安装Graphviz路径,后面加上\bin
2. 双击下方框中 Path ,新建,输入安装Graphviz路径,后面加上\bin\dot.exe
step 4 重启电脑
使用jupyter的话不用再安装graphviz了
PS 听说plot_tree 好像更好用 改日需要的时候试试