r/pythonhelp • u/The_Gobinator • Feb 17 '22
Problems Downloading Pygme
I've been trying to download Pygame for a while now. I've tried on three separate computers, and they've all given me the same error message, so I assume I'm doing something wrong. I have the latest version of python installed, and when I did so, I was sure to tick the little box labelled 'pip'. However, when I type 'pip install pygame' into the shell, it gives:
pip install pygame
SyntaxError: invalid syntax
The spoiler is there to indicate what's highlighted. This might be a pygame problem, rather than a python problem, but asking here can't help. So... what am I doing wrong? I've looked about, and no one seems to have the same problem as me, so it feels like I'm making some obvious mistake, but I'd appreciate any help y'alls can give
EDIT: I have since solved the problem. Thanks for all your help.
1
u/MT1961 Feb 17 '22
Sounds like it is running some other program called pip. You might try running pip --version. It will tell you what version you are running and where it is found (if it is running Python's pip).