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 Lead Developer in India. I am interested in Shell scripts, python, erlang , linux kernel , Machine Learning.

Leave a comment