“RuntimeError: Make sure the Graphviz executables are on your system's path” after installing Graphviz 2.38

后端 未结 29 2280
感动是毒
感动是毒 2020-12-02 06:00

I downloaded Graphviz 2.38 MSI version and installed under folder C:\\Python34, then I run pip install Graphviz, everything went well.

29条回答
  •  一向
    一向 (楼主)
    2020-12-02 06:14

    I had the same issue on Linux with Jupyter.

    To solve it I've added the dot library to python sys.path

    First: check if dot is installed,

    Then:
    find his path whereis dot -> /local/notebook/miniconda2/envs/ik2/bin/dot

    Finally in python script : sys.path.append("/local/notebook/miniconda2/envs/ik2/bin/dot")

提交回复
热议问题