i following official docs, however, getting error during import.
f:\>python python 2.7.11 |anaconda custom (64-bit)| (default, feb 16 2016, 09:58:36)[msc v.1500 64 bit (amd64)] on win32 type "help", "copyright", "credits" or "license" more information. anaconda brought continuum analytics. please check out: http://continuum.io/thanks , https://anaconda.org >>> dask.dot import dot_graph traceback (most recent call last): file "<stdin>", line 1, in <module> file "c:\anaconda\lib\site-packages\dask\dot.py", line 11, in <module> graphviz = import_required("graphviz", "drawing dask graphs requires " file "c:\anaconda\lib\site-packages\dask\utils.py", line 70, in import_required raise runtimeerror(error_msg) runtimeerror: drawing dask graphs requires `graphviz` python library , `graphviz` system library installed. >>>
i running anaconda , have installed graphviz.
c:\>conda install graphviz using anaconda api: https://api.anaconda.org fetching package metadata ......... solving package specifications: .......... # requested packages installed. # packages in environment @ c:\anaconda: # graphviz 2.38.0 2
i've got directory c:\anaconda\library\bin\graphviz
bunch of .exe, .dll , other files inside. there in path
variable:
f:\>where dot c:\anaconda\library\bin\dot.bat
here content of file (c:\anaconda\library\bin\dot.bat):
@echo off %~dp0.\graphviz\dot.exe %*
i have dask 0.11.0 installed:
f:\>conda list dask # packages in environment @ c:\anaconda: # using anaconda api: https://api.anaconda.org dask 0.11.0 py27_0
these errors appear both in windows , in linux (ubuntu 16.04 recent updates).
what else require?
i'm not using anaconda, generaly if wish use graphviz
should:
- install graphviz python module (probably
pip install graphviz
). - download , install graphviz software.
Comments
Post a Comment