Time for action – installing Pygame
We will install Pygame in this tutorial. Pygame should be compatible with all Python versions. At the time of writing there were some incompatibility issues with Python 3, but in all probability, these will be fixed soon. Perform the following steps to install Pygame:
Depending on the operating system, you have the following options with which you install Pygame:
Debian and Ubuntu: Pygame can be found in the Debian archives at http://packages.qa.debian.org/p/pygame.html.
Windows: From the Pygame website (http://www.pygame.org/download.shtml) we can download the appropriate binary installer for the Python version we are using.
Mac: Binary Pygame packages for Mac OS X 10.3 and up can be found at http://www.pygame.org/download.shtml.
Pygame uses the
distutils
system for compiling and installing. To start installing Pygame with the default options, simply run the following command:python setup.py
If you need more information about the available options, type...