Hello everyone, I am writing about a problem that was mentioned earlier in this forum and has been resolved, but the solutions proposed then do not solve it now. (here - visual.Window() error - #3 by djmannion)
I’m trying to run the code, and I get the following error:
AttributeError: module ‘psychopy.visual’ has no attribute ‘Window’
The relevant code script -
win = visual.Window(
size=[1280, 720], fullscr=True, screen=0,
winType=‘pyglet’, allowGUI=False, allowStencil=False,
monitor=‘testMonitor’, color=[0, 0, 0], colorSpace=‘rgb’,
blendMode=‘avg’, useFBO=True,
units=‘height’)
I have tried suggested solutions like installing pyglet 1.3 / 1.3.2, or changing from pyglet to pygame, and the error still appears.
I have python 3.6.6
psychopy 2021 2.3
thank you