OpenGL.EGL import error

Jan Harms <[email protected]> Mon, 10 Mar 2014 19:09:03 +0100
Newsgroups gmane.comp.python.opengl.user
Message-ID <CAHa3SSRLuyY5jF0uEbny-kD94Tetm4bDSDTLCyCzkvByoDyOJw@mail.gmail.com>
Hi,

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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users