pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Wiki

CompileUbuntu

      
Search:  
 
 
sections
Python 2.x
Python 3.x
Python 3.x into virtual environment
Installing pygame with pip
Tests and examples with OpenGL
Tests and examples without OpenGL
Raspbian

Install the development libraries and dependencies needed to install pygame.

Download pygame from bitbucket, build, then install!

Note: When building for both Python2 and Python3, do this from completely different download (build) directories)!

For rebuilding with the instructions below for a newer version upstream, use the commands hg pull and hg update to upgrade the download.

Python 2.x

Python 3.x

Python 3.x into virtual environment

Installing pygame with pip

Tests and examples with OpenGL

There is a bug in python3-opengl-3.0.2-1 in Ubuntu Xenial, this can be circumvented by installing https://launchpad.net/ubuntu/yakkety/amd64/python3-opengl/3.1.0+dfsg-1 from Yakkety. Download the package http://launchpadlibrarian.net/260965664/python3-opengl_3.1.0+dfsg-1_all.deb or a more recent version and install with sudo dpkg -i python3-opengl_3.1*.deb

.

Tests and examples without OpenGL

Raspbian

spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Nov 28, 2016

Nov 27, 2016

Nov 24, 2016

Nov 20, 2016

Nov 14, 2016


Nov 6, 2016

Nov 5, 2016


Oct 22, 2016

Oct 11, 2016


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)