How to install pygame in Python

To install Pygame in python

open terminal and type sudo apt-get install python-pygame

give your password to install and give y or yes to install in your system

To check whether it is installed in your system

$ python

>>> import pygame

if you didn’t get errors means pygame is installed in your system.

Thats it…:)

Author: Balaji

Hi..My name is Balaji and i am working as a Senior Software Developer in India. I am interested in Shell scripts, python, erlang , linux kernel .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: