On Sat, Oct 29, 2011 at 4:11 PM, Carlos <[email protected]> wrote: > I received the following message trying to run Pyglet. > > >>> window = pyglet.window.Window() > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/lib/python2.7/dist-packages/pyglet/__init__.py", > line 306, in __getattr__ > __import__(import_name) > File "/usr/local/lib/python2.7/dist-packages/pyglet/window/ > __init__.py", line 133, in <module> > from pyglet.gl import gl_info > File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/__init__.py", > line 99, in <module> > from pyglet.gl.lib import GLException > File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/lib.py", line > 143, in <module> > from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX > File "/usr/local/lib/python2.7/dist-packages/pyglet/gl/lib_glx.py", > line 48, in <module> > gl_lib = pyglet.lib.load_library('GL') > File "/usr/local/lib/python2.7/dist-packages/pyglet/lib.py", line > 122, in load_library > raise ImportError('Library "%s" not found.' % names[0]) > ImportError: Library "GL" not found.
>From the paths in the traceback, I assume you are running some flavour of Linux? Which distro/version, and have you installed the relevant OpenGL drivers? -- Tristam MacDonald System Administrator, Suffolk University Math & CS Department http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
