When I import “visual” from “psychopy”, I encountered the error below.
Can somebody help me debug this error?
ImportError: cannot import name 'gluErrorString' from 'pyglet.gl' (/Users/usr/opt/anaconda3/envs/UncannyExperiment2022/lib/python3.8/site-packages/pyglet/gl/__init__.py)
MacOS version12.6 PsychoPy version2022.2.4
I tried to use ‘pip install psychopy’ to install psychopy.
We’ve just started seeing this on the automated test suite. It’s due to a change in the most recent version of pyglet (2.0.0). You’ll need to pip install pyglet<2 until we’ve had time to sort out what changes we need to make for compatibility with pyglet 2.0.0.