#How do I install pygame
26 messages · Page 1 of 1 (latest)
You can install it with pip. pip install pygame
Pycharm also has a dependency manager type thing if you're using a virtual environment I think
okay!
I run after I type pip.pip install pygame
?????????????????????????????????????????
Sorry, what's your question?
any of the following commands
py -m pip install pygame
pip install pygame
both do the same function
@sudden thistle you can download it from cmd by writing
pip install pygame
Must be like every other library, by importing it
Just to be clear, it's not some GUI application that you "open". You write python code that uses the pygame library by doing import pygame.
thanks @marble fossil and @steady flume
Does anyone know how to import pygame in vscode
I managed to download/import pygame in cmd and python but it doesn't work in vscode
Irrespective of vscode
Write
import pygame
Pygame doesn't work or python doesn't work in vscode,
Which one is it?
pygame
Can you tell/show me what it shows
Maybe because u didnt knew how to import it