Search code examples
pythonwindowspipprofilingprofiler

Python visual profiler `vprof` on Windows


I would like to use the Python visual profiler (vprof) on Windows.

I did pip3 install vprof. But that didn't create any vprof.bat nor vprof.exe anywhere. So when I try something like vprof -c <config> <src> in the command line (as suggested by the readme), I get "'vprof' is not recognized as an internal or external command, operable program or batch file."

Should I add something specific to my environment variables?

What is pip3 install vprof supposed to do such that vprof -c <config> <src> can be called?


Solution

  • You'll want python -m vprof -c where python is the same interpreter as the one managing pip3