failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH
环境变量问题-解决方案:在cmd输入pip list,若显示出graphviz的相关版本信息表示 graphviz已安装配置成功。
在此处找到graphviz安装包的安装路径(libdir = "D:\anaconda3\pkgs\graphviz-2.38-hfd603c8_2\Library\bin\graphviz")
在系统变量的path上添加路径,重新启动kernel就好