install pygame
# on your terminal :
pip install pygame
# check if pygame run :
py -m pygame.examples.aliens
# if a window is open -> pygame is correctly installed
Source: codegrepper
pygame install
try:
pip install pygame
else:
pip3 install pygame
else:
python -m pip install pygame
else:
python3 -m pip install pygame
else:
py -m pip install pygame(this is my method)
(this is only for windows)
Source: codegrepper
how to install pygame windows 10
# Check if you have it installed
pip show pygame
# Check your version of pip (you might need to upgrade)
pip --version
# Install pygame with no cache
pip install pygame --no-cache-dir
# Check if its installed
pip show pygame
# Result:
Name: pygame
Version: 2.1.2
Summary: Python Game Development
Home-page: https://www.pygame.org
Author: A community project.
Author-email: pygame@pygame.org
License: LGPL
Location: c:\users\name\appdata\local\programs\python\python310\lib\site-packages
Requires:
Required-by:
Source: stackoverflow.com
how to install pygame
# on windows write in powershell:
pip install pygame
# on os write in terminal
pip install pygame
Source: codegrepper
pip install pygame
py -m pip install -U pygame --user
Source: www.pygame.org
pygame install
pip install pygame
Source: codegrepper