nvdv / vprof

Visual profiler for Python
BSD 2-Clause "Simplified" License
3.95k stars 154 forks source link

Examples have non-existing arguments #37

Closed runarfu closed 8 years ago

runarfu commented 8 years ago

I just installed vprof with pip. Then I tried one of the examples with my script:

$ vprof -c cmh -s "my_script.py"
usage: vprof [-h] [--port PORT] [--debug] [-n] options src
vprof: error: unrecognized arguments: -c -s

Examples should be updated, for example like this:

$ vprof cmh my_script.py
nvdv commented 8 years ago

Hi, for some reason pip install vprof installs v0.22 instead of v0.3. Examples are correct for v0.3. I've documented this issue (https://github.com/nvdv/vprof/issues/38) and current workaround is pip install vprof==0.3. Sorry about that.

runarfu commented 8 years ago

Great, thanks!