I try to run this example for decision tree learning, but get the following error message:
File \"coco.py\", line 18, in graph.write_pdf(\"iris.pdf
brew install graphviz pip install -U pydotplus
... worked for me on MacOSX