Home > Software design >  Unable to use pip after installation / upgrading pip on windows 10
Unable to use pip after installation / upgrading pip on windows 10

Time:07-13

After I install pip on windows10 ; it says Successfully Installed

But when I try to use it says pip is not recognized as an internal or external command

Image to explain

CodePudding user response:

You have to preface it with

py -m pip

in order to have the cmd line interpret it as a python command, like you did when you installed it

CodePudding user response:

the install script says

    WARNING: The script pip.exe, pip3.10.exe and pip3.exe are installed in 
'C:\Users\Mo3az\AppData\Local\Programs\python\python310\Scripts' 
which is not on PATH 

Consider adding this directory to PATH or, if you prefer to suppress this 
warning use --no-warn-script-location

(I typed it myself this might contain some typo)

add C:\Users\Mo3az\AppData\Local\Programs\python\python310\Scripts

to PATH then you will be able to run pip3 how to stackoverflow

  • Related