make sure you have the following installed:
If you are planning to run this program on Windows (32bit and 64 bit), make sure to install the 32bit version of Python. The 64bit version of Python on Windows won't work with pyglet!
E.g.: python-2.7.3.exe
Download and install the 32bit version of setuptools (see http://pypi.python.org/pypi/setuptools).
E.g.: setuptools-0.6c11.win32-py2.7.exe
$ cd c:\python27\Scripts
$ easy_install numpy
Set the Nvidia driver 3D settings to performance if you want highest FPS.
On Ubuntu 12.04 you can do:
$ sudo apt-get install python-numpy pyglet
On Ubuntu < 12.04 do:
$ sudo apt-get install python-numpy
now install pyglet by hand as described in 2B
download from https://code.google.com/p/pyglet/downloads/list
E.g.: pyglet-1.1.4.msi
or checkout from repository using TortoiseHg (http://tortoisehg.bitbucket.org)
d:
cd d:\code\pyglet
c:\Python27\python.exe setup.py install
$ hg clone https://pyglet.googlecode.com/hg/ pyglet
$ sudo python setup.py install