[PyOpenGL-Users] Strange error on OpenGL
Brought to you by:
mcfletch
From: Cata <cat...@gm...> - 2009-12-11 13:49:06
|
Hi ! I have a issue . I use Fedora 12 I try this code : import OpenGL OpenGL.FORWARD_COMPATIBLE_ONLY = True from OpenGL.GL import * from OpenGL.GLU import * But i have this errors : Error is python Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import OpenGL >>> OpenGL.FORWARD_COMPATIBLE_ONLY = True >>> from OpenGL.GL import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/site-packages/OpenGL/GL/__init__.py", line 2, in <module> from OpenGL.raw.GL import * File "/usr/lib/python2.6/site-packages/OpenGL/raw/GL/__init__.py", line 6, in <module> from OpenGL.raw.GL.constants import * File "/usr/lib/python2.6/site-packages/OpenGL/raw/GL/constants.py", line 7, in <module> from OpenGL import platform, arrays File "/usr/lib/python2.6/site-packages/OpenGL/platform/__init__.py", line 36, in <module> _load() File "/usr/lib/python2.6/site-packages/OpenGL/platform/__init__.py", line 27, in _load plugin_class = plugin.load() File "/usr/lib/python2.6/site-packages/OpenGL/plugins.py", line 14, in load return importByName( self.import_path ) File "/usr/lib/python2.6/site-packages/OpenGL/plugins.py", line 28, in importByName module = __import__( ".".join(moduleName), {}, {}, moduleName) File "/usr/lib/python2.6/site-packages/OpenGL/platform/glx.py", line 3, in <module> from OpenGL.platform import baseplatform, ctypesloader File "/usr/lib/python2.6/site-packages/OpenGL/platform/baseplatform.py", line 10, in <module> from OpenGL.platform import entrypoint31 ImportError: cannot import name entrypoint31 -- My sites: http://catalin-festila.blogspot.com -about me http://tv.free-tutorials.org - video tutorials http://python-catalin.blogspot.com - my python blog |