Shell/Bash: install pygame Example

By

Shell/Bash Example: This is the "install pygame" Example. compiled from many sources on the internet by SimpleTutorials.org

install pygame

python3 -m pip install pygame <<<(mac)>>>
or
python -m pip install pygame <<<(windows)>>>
or
sudo apt install python3-pygame <<<(ubuntu)>>>

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 

how to install pygame

# on windows write in powershell:
pip install pygame

# on os write in terminal 
pip install pygame

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)

pip install pygame

py -m pip install -U pygame --user 

install pygame

pip install pygame


* Summary: This "install pygame" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others