#pygame not installing
1 messages · Page 1 of 1 (latest)
@thick ridge just do pip install pygame
Python and pip are not on his PATH.
This means he can’t use pip from terminal
He needs to add python to PATH, the easiest way to do that from my experience is reinstalling python
@golden ginkgo try creating a folder for ur project first and i suggest working inside a virtual environment
I did it but it still won’t work @thick ridge
"Doesn't work" is not very descriptive, please explain how it doesn't work (what it's currently doing/what you want it to do) as well as provide any errors as well (send full error if it's long use a pasting service)
@golden ginkgo
What
Okay, now open a new terminal and try
@thick ridge
Is it a command promt terminal? @thick ridge
Yes a new terminal
What do I type in?
Did you open a new terminal?
Yes
Okay, now write python -V to verify python is installed
A lotta things came up
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined. Did you mean: 'zip'?
came up
Well you wrote that into the python repl
This means python is installed properly now at least
Wdym
Now exit python and do pip install pygame
@thick ridge
I’m in visual studio code
Wdym exit python
@thick ridge
I did python -v not python -V
heres the screenshot
What if u do python -m pip -V
Try python -m ensurepip --upgrade
If that doesn’t work, reinstall python again and make sure u also select to install pip…
did you check install pip when you reinstalled python?
where?
@torpid sky Where?
Have you done pip install pygame?
this is solved i just tryed pip install pygame again and it worked idk why it didnt last time i tryed it