Graphviz's executables are not found (Python 3.4)

后端 未结 26 1447
故里飘歌
故里飘歌 2020-11-29 05:00

I am running Python3.4 on Windows 7. I am trying to use the Python interface for graphviz. This is a script I intend to run:

from graphviz import Digraph
imp         


        
26条回答
  •  青春惊慌失措
    2020-11-29 05:47

    I am not sure if this is an answer to THIS question, but this also seems to be the "how do I get graphviz to run on my setup?" thread. I also did not see python-graphviz mentioned anywhere.

    As such: Ubuntu 16.04, conda Python 3.7, using Jupyter notebooks.

    conda install -c anaconda graphviz
    conda install -c conda-forge python-graphviz
    

    The images would not render after trying only the first command; they did render after running the second.

    I also installed pydot-plus, but did not see any change in behavior, performance, or image resolution.

提交回复
热议问题