Python PyCallGraph.PyCallGraphException Graphviz

696 Views Asked by At

Im trying to use the pycallgraph library for Python on my Windows commandline

from pycallgraph import PyCall Graph
from pycallgraph.output import GraphvizOutput

with PyCallGraph(output=GraphvizOutput()):
    for i in range(0,11):
        print(str(i) + " times looped")

After executing this i get the following error: 'The command "{}" is required to be in your path.'.format(cmd)) pycallgraph.exceptions.PyCallGraphException: The command "dot" is required to be in your path.

I know that i need to install dot, but i don't know how to do it

0

There are 0 best solutions below