I'm running graphviz per an online tutorial, but ran into an error: ExecutableNotFound: failed to execute ['dot', '-Tsvg'], make sure the Graphviz executables are on your systems' PATH

Tried reinstalling on anaconda onto PATH environment. Doesn't work. Is any kind soul able to guide amateur here? Much appreciated. Thanks.

Code used

from sklearn import tree
import graphviz

tree_graph = tree.export_graphviz(tree_model, out_file=None, feature_names=feature_names)

0 Answers