GraphViz's executables not found : Anaconda-3

后端 未结 3 1123
无人共我
无人共我 2021-02-03 15:31

I am trying to display the tree output , but when I run the script below, I receive an error like :

InvocationException: GraphViz\'s executables not found

3条回答
  •  野性不改
    2021-02-03 16:03

    i had same problem. Here is the solution for ((Win10, Anaconda3, Jupyter notebook, python 3.x)

    1. Download and Install https://graphviz.gitlab.io/_pages/Download/Download_windows.html

    2. conda install graphviz

    3. Add graphviz installed path (C:...\graphviz\bin) to Control Panel > System and Security > System > Advanced System Settings > Environment Variables > Path > Edit > New

    4. Very Important: Restart your Jupyter notebook/machine. I tried restarting machine and it worked.

    This question is answered for different OS here: Graphviz's executables are not found (Python 3.4)

提交回复
热议问题