PyOpenGL 3.x The Python OpenGL Binding

About PyOpenGL

PyOpenGL is the most common cross platform Python binding to OpenGL and related APIs. The binding is created using the standard ctypes library, and is provided under a liberal BSD-style Open-Source license.

PyOpenGL Supports

PyOpenGL is interoperable with a large number of external GUI libraries for Python including (but not limited to):

PyOpenGL 3.x runs on:


The PyOpenGL project includes a number of sub-projects:

Downloading and Installation

The easiest way to install PyOpenGL is using pip

$ pip3 install PyOpenGL PyOpenGL_accelerate

You can also manually download the packages:

unpack them into temporary directories, change to those directories and run:


Detailed installation instructions are available.


The documentation collection provides reference documentation, support and feedback information and pointers to more in-depth documentation.

Source Code

You can work with latest version of PyOpenGL using the git distributed source code control tool on the GitHub code-hosting platform:

git clone
git clone
git clone

If you encounter a bug, feel free to file a GitHub ticket, but do note that the author of PyOpenGL only gets a few days a year to work on Open Source projects these days, so expect that responses are likely to be slow.


Bugs and general questions are best reported and answered on the PyOpenGL mailing list.  The list is fairly low-traffic.