第一句子网 - 唯美句子、句子迷、好句子大全
第一句子网 > python dot_graphviz dot 及dot图可视化

python dot_graphviz dot 及dot图可视化

时间:2019-07-20 13:34:35

相关推荐

python dot_graphviz dot 及dot图可视化

graphviz简介

注意

不同于一般的Python包,graphviz需要额外下载可执行文件,并配置环境变量,如果想在python代码中使用,需要参考下面的步骤:

Install GraphViz if you haven't already (I used the MSI download)

Get the path for gvedit.exe (for me it was "C:\Program Files (x86)\Graphviz2.34\bin")

Add this path to the computer's PATH

One way to get to environment settings to set your path is to click on each of these button/menu options: start->computer->system properties->advanced settings->environment variables

Click Edit User path

Add this string to the end of your Variable value list (including semicolon): ;C:\Program Files (x86)\Graphviz2.34\bin

Click OK

Restart your Python IDE

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。