how to use pycallgraph in ubuntu and window?

meInvent bbird jobmattcon at gmail.com
Fri Oct 14 03:34:55 EDT 2016


succeed to draw graph, thanks

originally i think pip install graphviz is enough

then search again

there is an win32 executable file graphviz need to be install

On Friday, October 14, 2016 at 2:58:48 PM UTC+8, dieter wrote:
> 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