简体   繁体   中英

I uninstall python3.9 and installed python3.8 now it shows error “'pip' is not recognized as an internal or external command”

C:\python\Python3.8>python -m pip install pip

Requirement already satisfied: pip in c:\python\python3.8\lib\site-packages (20.3)

C:\python\Python3.8>pip --version

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

python -m pip is correct usage, and it shows it is already installed.

If you want pip available on its own, you need to edit your PATH variable

For me I just installed anaconda and it worked

You can install pip using the method given in this link.

python get-pip.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM