Graphviz's executables are not found (Python 3.4)

后端 未结 26 1422
故里飘歌
故里飘歌 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:46

    For windows 8.1 & python 2.7 , I fixed the problem by following below steps

    1 . Download and install graphviz-2.38.msi http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.38.msi

    2 . Set the path variable

    • Control Panel > System and Security > System > Advanced System Settings > Environment Variables > Path > Edit
    • add 'C:\Program Files (x86)\Graphviz2.38\bin'

提交回复
热议问题