Closed ninjit closed 1 year ago
Good point. I added this to the installation instructions on the documentation pages. However, do you now receive this message and you can still make the tree plot?
sudo apt install graphviz
was enough in my situation, but for other OSes there maybe other hoops to jump through.
e.g. on mac brew instal graphiz
, on windows... I have no idea.
conda install graphiz
maybe the universal solution, since they bundle the require C libraries/binaries, but I've had a lot of issues in the past mixing conda and pip installs within the same environment.
I'm running through the example classification notebook now, and the treeplot fails to render, with the following warning:
It seems that graphviz being a compiled c library is not bundled in pip (it is included in conda install treeplot/graphviz though).
Since we have no recourse to add this to pip requirements, maybe a sentence in the Instalation instructions warning that graphviz must already be available and/or installed separately.
(note the suggested apt command for linux is not entirely necessary, because pydot does get installed with treeplot via pip)