I am trying to install the newest PyOpenGL version but I get an AttributeError when trying to import OpenGL.EGL:

Traceback (most recent call last):
  File "/home/student/miniconda/conda-bld/test-tmp_dir/run_test.py", line 56, in <module>
    import OpenGL.EGL
  File "/home/student/miniconda/envs/_test/lib/python2.7/site-packages/OpenGL/EGL/__init__.py", line 2, in <module>
    from OpenGL.raw.EGL._types import *
  File "/home/student/miniconda/envs/_test/lib/python2.7/site-packages/OpenGL/raw/EGL/_types.py", line 72, in <module>
    CALLBACK_TYPE = _p.PLATFORM.functionTypeFor( _p.PLATFORM.EGL )
AttributeError: 'GLXPlatform' object has no attribute 'EGL'

I am working on Ubuntu 12.04, Python 2.7.6.
Any idea why I get this error or how to solve it?

Kind regards,

Jan Harms