I am trying to run graphviz to view dot file on jupyter notebook in have imported path to dot.exe path.
G:\anaconda3\envs\tensorflowgpu\Library\bin\graphviz G:\anaconda3\envs\tensorflowgpu\Library\bin\graphviz\dot.exe
I am trying to run this code:
with open("tree1.dot") as f:
dot_graph = f.read()
graphviz.Source(dot_graph)
OR
graphviz.Source("tree1.dot") .view()
It is giving:
failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH
Please tell me any way to fix this or any other way to View dot file on jupyter notebook i am running python 3.6 on jupter notebook
graphviz
(not justpip install graphviz
, but the actual executable which is available separately). Not sure how to solve it on Windows though... – Doley