pip install pygame version code example
Example 1: 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
Example 2: pygame install
pip install pygame
Example 3: pygame download
py -m pygame.examples.aliens