0

I am using LightGBM in Azure ML Jupyter notebooks, it works fine and I also installed graphviz.

However this line:

lgb.plot_tree(clf, tree_index = 1, figsize=(20,12))

throws this error:

ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506

1 Answers1

2

Common problem (very common). There are two systems named Graphviz, and you need both! see I'm getting this issue when trying to run the code I found on GitHub. Pydot and graphivz are installed but still getting this error

sroush
  • 5,375
  • 2
  • 5
  • 11