Graphviz Troubleshooting
Common Errors
failed to execute WindowsPath('dot') / AttributeError: 'NoneType' object has no attribute '_start_node'
This is because the Graphviz install hasn't completed correctly, or you haven't added the executables to your systems PATH.
The best way to get around this is to just re-install using windows package manager which will sort the installation out for you.
Steps:
Press Windows Key + x
Click on the tab that says Terminal (Admin) or PowerShell(Admin)
Type or copy the following:
Wait for the install to finish and the run the script again
If you're still encountering errors, you can follow the steps below to add Graphviz to your PATH, or open an issue on our GitHub page: New Issue
Adding Graphviz to PATH
Steps:
In the Windows Search Bar, search for: Edit the system Environment Variables
Click on 'Environment Variables' ![[environmentvariables.png]]
Under the 'User Variables' tab, click on 'New'
Enter the following details: ![[uservariables.png]]
After this, restart your computer to apply the changes and try your script again.
If you're still encountering errors, open an issue on our GitHub page: New Issue
Installing Graphviz on Linux/Mac
Most Linux Distros have Graphviz supported in their package manager.
Execute the commands below in terminal depending on your distro:
Arch
Debian/Ubuntu:
Fedora:
MacOS (Needs homebrew):
Last updated
Was this helpful?