Title: Graphviz executables not found. Python 3
Tags: python-3.x;graphviz
Question: I`m trying to get this code to run:

Getting started with Graphviz and Python
http://matthiaseisen.com/articles/graphviz/

```import graphviz as gv

g1 = gv.Graph(format='svg')
g1.node('A')
g1.node('B')
g1.edge('A', 'B')

print(g1.source)
```

this part works fine, but...

```filename = g1.render(filename='img/g1')
print (filename)
```

-> make sure the Graphviz executables are on your systems' PATH

I found similar questions/answers, but I don```t know much about the Windows registry, so I don```t dare to experiment a lot there. I downloaded Graphviz as zip-file, and I did conda install graphviz at some point. Python 3.6 is installed per default. C:\Users\Oliver\Appdata\Local\Programs\Python36.

I go to Control Panel - System - Advanced System - Environment Variables, but what exactly do I have to change there?



Here is another answer: I could finally solve this:

The graphviz zip I had direcly extracted directly in my Downloads-folder (or wherever you want to have it).

Control Panel - System - Advanced System - Environment Variables

Then in the lower half, System Variables (not User variables), double-klick Path: klick ```New``` and browse to the graphviz bin-folder.


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2017:00:06/24/17', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<python-3.x><graphviz>', 'Title': 'Graphviz executables not found. Python 3', 'ViewCount': 318, 'id': 44740377, 'user_AboutMe': None, 'user_AccountId': 8133304.0, 'user_DisplayName': 'Oliver Chris Ludwig', 'user_Reputation': 49.0, 'user_Views': 24.0, 'user_id': 7936945.0}}