+1 vote
in Programming Languages by (60.0k points)

My Python code is throwing the following error:

graphviz.backend.execute.ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH

How to fix this error for Ubuntu?

1 Answer

+1 vote
by (71.8k points)
selected by
 
Best answer

You need to install graphviz on your Ubuntu system to fix the error. Run the following command on the terminal, and it should fix the issue.

sudo apt-get install graphviz


...