I'm trying to follow along this bit from scikit-learn about plotting a decision tree using graphviz
.
When I run
(datasci)benjamins-MacBook-Pro-2:Scripts Ben$ dot -Tpdf iris.dot -o iris.pdf
I get the following error message
dyld: Library not loaded: /usr/lib/libltdl.7.dylib
Referenced from: //anaconda/envs/datasci/bin/dot Reason: image not
found Trace/BPT trap: 5
There is definitely a file in my working directory named "iris.dot", so I'm not sure why I'm getting an "image not found" error. Any suggestions?
Specs: Mac OSX 10.11.1, Anaconda virtual environment with graphviz 2.38.0