Install Python, go into the command line and type:
Python 2:
pip install pyglet
Python 3:
pip3 install pyglet