python 3.7 win10 spyder 安装 graphviz
程序员文章站
2024-03-14 08:56:10
...
python 3.7 spyder 安装 graphviz
下载网址:http://www.graphviz.org/download/
点进去,找到
我是64位系统,下载安装
安装时有个选项,是加入环境变量的,望着选择添加环境变量。这样后面就不用手动添加了。
安装完,运行CMD → dot -version
C:\Users\tom>dot
There is no layout engine support for "dot"
Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
有问题,再运行 dot -c
C:\Users\tom>dot -c
Error: failed to open C:\Program Files\Graphviz\bin\config6 for write.
还是不行……
网上查了一下,要使用管理员打开终端……
运行 dot -c
再运行 dot -version
成功……
C:\Windows\system32>dot -c
C:\Windows\system32>dot -version
dot - graphviz version 2.44.2~dev.20200912.0955 (20200912.0955)
libdir = "C:\Program Files\Graphviz\bin"
Activated plugin library: gvplugin_dot_layout.dll
Using layout: dot:dot_layout
Activated plugin library: gvplugin_core.dll
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
C:\Program Files\Graphviz\bin\config6
was successfully loaded.
render : cairo dot dot_json fig gdiplus json json0 map mp pic ps svg tk vml xdot xdot_json
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout : textlayout
device : bmp canon cmap cmapx cmapx_np dot dot_json emf emfplus eps fig gif gv imap imap_np ismap jpe jpeg jpg json json0 metafile mp pdf pic plain plain-ext png ps ps2 svg tif tiff tk vml xdot xdot1.2 xdot1.4 xdot_json
loadimage : (lib) bmp eps gif jpe jpeg jpg png ps svg
推荐阅读
-
windows下为python安装graphviz模块
-
python 3.7 win10 spyder 安装 graphviz
-
win10 python 2.7 安装basemap(win10 无法安装 .net framework 3.5 0x80070057)
-
Centos7下的Python3.7安装
-
ubuntu18.04安装python3.7
-
安装python3.7出现ModuleNotFoundError: No module named '_ctypes'解决办法
-
【centos7.5】源码编译安装python3.7,和使用国内阿里源 安装ipython3
-
CentOS7 安装python3.7
-
CenterOS 安装Python3.7 环境 博客分类: Python
-
CenterOS 安装Python3.7 环境 博客分类: Python