1
我跑到下面的代码逐字(这是官方的示例代码):
http://pycallgraph.slowchop.com/en/master/examples/basic.htmlPycallgraph与Spyder的不工作
而且我得到下面的错误:
'The command "{}" is required to be in your path.'.format(cmd)) pycallgraph.exceptions.PyCallGraphException: The command "dot" is required to be in your path.
我运行程序中的Spyder在Windows从目录: 'C:\ MyDocs \ pleasework.py'
'C:\ MyDocs' 存在于sys.path中以及
这工作对我来说,但有一个额外的步骤,使路径中的点命令可用。 –