简体   繁体   中英

Pip showing up an not installed even though I downloaded python?

running windows 10 and IDLE python 3.10.1

I was trying to install pygame with pip using the pip install pygame command but couldn't get it to work. I've been reading loads of articles trying to figure out what to do but I have no idea. When I opened up command prompt and typed in pip --version following this website it came up as running pip version 3.9. I deleted all python 3.9 off my computer in case python 3.10 trying to run pip 3.9 was the problem but now it says

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

I've deleted and redownloaded python twice now but it still won't work. Does anyone know what to do? thanks

————————

Hi there just so you know, running python -m pip install pip isn't working and when i type python —version it says that python was not found?

I had the same problem with "pip" and i used this method: Those are the commands listed for you:

  1. sudo apt install python3
  2. sudo apt install python3-pip

This worked for me.

Try using pip3 instead of pip . I used to have the same problem, and I fixed it this way.

pip is an independent package from python, thus install it !

python -m pip install pip

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