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
CodePudding user response:
Try using pip3 instead of pip. I used to have the same problem, and I fixed it this way.
CodePudding user response:
I had the same problem with "pip" and than i used this method: Those are the commands listed for you:
sudo apt install python3sudo apt install python3-pip
This worked for me.
