‘pip3’ is not recognized as an internal or external command, operable program or batch file

On Windows, it’s a good idea to stick to launching pip via the py.exe common launcher, so you can provide flags to specify which version of Python to use without needing to deal with a complicated PATH.

To use it for Python 3, just replace:

pip3 RESTOFCOMMAND

with:

py -3 -mpip RESTOFCOMMAND

It’s a little bit longer to type, but it avoids a lot of hassles with PATH management, and changing it to run on more and more specific Python versions (when you have multiple versions available) is easy; if you want to be sure Python 3.6 is used even if Python 3.7 is available, you’d just change to:

py -3.6 -mpip RESTOFCOMMAND

Leave a Comment