How to get Pyglet Working for Python 3?

user2438758 picture user2438758 · Jan 23, 2014 · Viewed 16.3k times · Source

I am excited to use Pyglet because of all its features, however I am having problems installing the latest development build of Pyglet on Python 3. I am aware people have already asked this question but none of the responses helped me at all.

UPDATE: What I mean is that I am unable to get Pyglet to install for Python 3, whenever I import Pyglet it showss an error message with some Python 2 code.

Answer

Omzep picture Omzep · Jul 30, 2015

Install using the below command:

pip3 install pyglet

This worked for me.