我正在使用Windows 7,使用python 2.7和pip 8.0.2
我已经使用cygwin中的pip为python安装了pyCallGraph
pip install pycallgraph
尝试执行时:
$ pycallgraph graphviz -- ../main.py
C:\python27\python.exe: can't open file '/cygdrive/c/Python27/Scripts/pycallgraph': [Errno 2] No such file or directory
这很奇怪,因为pycallgraph存在于Script文件夹中,我正在从同一个文件夹执行commanf
如果我第二次运行命令:
$ pip install pycallgraph
Requirement already satisfied (use --upgrade to upgrade): pycallgraph in c:\python27\lib\site-packages
我是python的新手,感谢任何帮助,谢谢
答案 0 :(得分:0)
我想参加聚会迟到了...
pip install graphviz