解决方案:
在命令行上
#1.下载graphviz
pip install graphviz -i https://pypi.tuna.tsinghua.edu.cn/simple/
#2.下载pydot
pip install pydot-ng -i https://pypi.tuna.tsinghua.edu.cn/simple/
#3.下载graphviz-2.38.msi并且添加进环境变量
https://graphviz.gitlab.io/_pages/Download/Download_windows.html