0

On windows graphviz is not working even after pip install or conda. It says

InvocationException: GraphViz's executables not found.

I am trying to model with decision trees.

 dot_data = StringIO()
 export_graphviz(dt, out_file=dot_data, 
                     filled=True, rounded=True,
                 feature_names=X.columns.values,
                 class_names = ['human','bot'],
                     special_characters=True)  
 graph = pydotplus.graph_from_dot_data(dot_data.getvalue())  
 Image(graph.create_png())`
Jared Forth
  • 1,577
  • 6
  • 17
  • 32
  • Report back software version by updating your question. No need to put it in comments. Any error-logs to share? – ZF007 Apr 02 '19 at 21:37
  • Have you installed the actual Graphviz application (not python module, which uses it)? https://graphviz.gitlab.io/_pages/Download/Download_windows.html – Dany Apr 03 '19 at 04:57
  • please search the site for "graphviz conda" probably you will find some useful hints. – albert Apr 03 '19 at 08:07

0 Answers0