Skip to main content

How to install PyGame in windows & ubuntu

hi, how are you today

Today we are going to discuss how to install pygame in Windows, Unix and IOS.
Before proceeding further lets have a look on what exactly a pygame is?

What is PyGame?

Pygame is a cross-paltform set of Python.
Pygame is a module designed to write games/video games.
It includes computer grapics and sound libraries designed to use with Python programming Language.
It was originally written by PETE SHINNERS to replace PySDL.

How to install PyGame?

Its no longer necessary to check and find the appropriate version for your OS and download it. Its just a mater of a command in window prompt.
You can just run pip install pygame and it will install the right version of pygame for your environment.

How to install PyGame on windows?

 pip install pygame  

How to install PyGame on ubuntu?

 pip3 install pygame  

You must install pip3 before using above command
follow the steps to do that and be sure you have python3 installed

 sudo install python3-pip  

now check pip version
 pip3 --version OR pip3 -V 

if getting any version either 9.0.1 or 18.x (latest version till this post written data), just go for
 pip3 install pygame  

Hope you all like this post and I wish this proves useful to you.
Keep sharing & give your views about post in comments.
Comments are always welcomed for better improvement.

Thanks :)
Please write comments if you find anything needs to be more clear, incorrect, or you want to share more information about the topic discussed above

Comments

Translate to your language

Popular posts from this blog

Different Stages of I2C communication

Different Stages Of I2C

How to import Pygame in pycharm

hi, how are you today

Working demonstration of UART communication using 2 8051 uController on Proteus with Embedded C code.

Here we are going to use 2 at89c51 uControllers just to understand UART communication in 8051.