gak / pycallgraph

pycallgraph is a Python module that creates call graphs for Python programs.
GNU General Public License v2.0
1.82k stars 336 forks source link

Unable to run pycallgraph in windows 7 #155

Open chfakht opened 8 years ago

chfakht commented 8 years ago

I'm using windows 7 , with python 2.7 and pip 8.0.2

i have installed pyCallGraph for python using pip in cygwin

pip install pycallgraph When trying to execute it :

$ pycallgraph graphviz -- ../main.py
    C:\python27\python.exe: can't open file '/cygdrive/c/Python27/Scripts/pycallgraph': [Errno 2] No such file or directory

That's weird because pycallgraph is present in the Script folder and i'm executing the commanf from the same folder

If i ran the command for the second time :

$ pip install pycallgraph
Requirement already satisfied (use --upgrade to upgrade): pycallgraph in c:\python27\lib\site-packages

I'm new to python , any help will be appreciated , thanks

avishapiro commented 8 years ago

This comment for another issue #119 helped me: https://github.com/gak/pycallgraph/issues/119#issuecomment-59347137