Skip to content
Advertisement

(Python) ValueError: Program dot not found in path

I have the following problem: I am on xUbuntu OS and I am trying to use networkx in a Flask application, and I am having the following code:

JavaScript

The last line is line 411. I get the following error:

JavaScript

What could be causing this problem? I’ve installed networkx and pygraphviz, but I still get this error. Any ideas how to solve this problem?

Advertisement

Answer

PyGraphviz doesn’t work without Graphviz. Install that too.

Advertisement