how to use pycallgraph in ubuntu and window?

dieter dieter at handshake.de
Fri Oct 14 02:57:50 EDT 2016


meInvent bbird <jobmattcon at gmail.com> writes:

> i install in ubunbu 14
>
> pip install graphviz
> pip install pycallgraph
>
> martin at ubuntu:~/Downloads$ pycallgraph graphviz -- ./pusher.py
> Traceback (most recent call last):
> ...
> pycallgraph.exceptions.PyCallGraphException: The command "dot" is required to be in your path.

This tells you that a required (operating system level) utility
(named "dot") is not available.

Carefully read the installation instructions, especially any
remark about dependencies. This should tell you where "dot" is supposed
to come from. Install all operating system level dependencies.

If "dot" should have come from "graphviz", then maybe a
"hash" is necessary to let your shell see new commands.




More information about the Python-list mailing list