We will cover the prerequisites for the installation of Pyglet in this section.
Pyglet provides an API for multimedia application development using Python. It is an OpenGL-based library, which works on multiple platforms. It is primarily used for developing gaming applications and other graphically-rich applications. Pyglet can be downloaded from http://www.pyglet.org/download.html. Install Pyglet version 1.1.4 or later. The Pyglet installation is pretty straightforward.
For Windows users, the Pyglet installation is straightforward—use the binary distribution Pyglet
1.1.4.msi
or later.
Note
You should have Python 2.6 installed. For Python 2.4, there are some more dependencies. We won't discuss them in this book, because we are using Python 2.6 to build multimedia applications.
If you install Pyglet from the source, see the instructions under the next sub-section, Other platforms.