Overview

This guide shows how to install pygame. Pygame is Python programming language library for making multimedia applications like games.

 

Prerequisites

 

Installation

01. Activate your virtual environment, or skip this step if not using virtual environment.

$ source {{virtual-env-directory}}/bin/activate

 

02. Install the pygame package

(geek-venv) $ pip install pygame

 

03. Verify that pygame has been installed by viewing the version.

(geek-venv) $ pip freeze | grep pygame

 

Previous How To Install Keras
Next How To Install hug (Python OpenSource Project)