Addem Addem - 18 days ago 5
Python Question

`which` not working on the command prompt

I accidentally screwed with the environmental variables on my computer and it seemed to cause problems. I did a system restore and that seemed to fix the problem, the variables look like they used to. However, when I go to the command prompt and type, for instance,

which pip
it answers

'which' is not recognized as an internal or external command, operable program or batch file.


Anyone know what's going on?

Oh yeah, I'm running Windows 10.

Answer

Try where pip and Get-Command pip