"ImportError: cannot import name gl_info"
2014-03-07 15:32:39 GMT
I have problems running a PsychoPy (www.psychopy.org) script (error message below) on Linux which used to run perfectly until a few days ago, and was advised to ask here why gl_info doesn't seem to exist in my pyglet library.
My pyglet version is '$Id: __init__.py 2530 2009-10-18 01:39:18Z benjamin.coder.smith $' and the version of the package python-pyglet is 1.1.4.dfsg-2build1.
The problem might have to do something with my recent updates from Python version 2.7.5-8ubuntu3 to 2.7.5-8ubuntu3.1 and from 3.3.2-7ubuntu3 to 3.3.2-7ubuntu3.1. However, I don't know if there was a precise temporal contingency between the updates and the errors.
Can anybody help me? Thanks a lot for any advice!
Traceback (most recent call last):
File "MYPARADIGM_lastrun.py", line 44, in <module>
monitor='testMonitor', color=[0,0,0], colorSpace='rgb')
File "/usr/lib/pymodules/python2.7/psychopy/visual/window.py", line 305, in __init__
File "/usr/lib/pymodules/python2.7/psychopy/visual/window.py", line 1268, in _setupGL
File "/usr/lib/pymodules/python2.7/psychopy/visual/window.py", line 1120, in _setupPyglet
config = GL.Config(depth_size=8, double_buffer=True,
File "/usr/lib/pymodules/python2.7/pyglet/__init__.py", line 306, in __getattr__
File "/usr/lib/pymodules/python2.7/pyglet/gl/__init__.py", line 104, in <module>
from pyglet.gl import gl_info
ImportError: cannot import name gl_info
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.