Step 1: Install Graphviz binary
Windows:
- Download Graphviz from http://www.graphviz.org/download/
- Add below to PATH environment variable (mention the installed graphviz version):
- C:\Program Files (x86)\Graphviz2.38\bin
- C:\Program Files (x86)\Graphviz2.38\bin\dot.exe
- Close any opened Juypter notebook and the command prompt
- Restart Jupyter / cmd prompt and test
Linux:
- sudo apt-get update
- sudo apt-get install graphviz
- or build it manually from http://www.graphviz.org/download/
Step 2: Install graphviz module for python
pip:
conda: