Welcome to PsychoPy3!
v3.1.3
########################## Running: E:\DCCSpy\DCCS.py ##########################
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "E:\DCCSpy\DCCS.py", line 64, in <module>
units='height')
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\window.py", line 389, in __init__
self.backend = backends.getBackend(win=self, *args, **kwargs)
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\backends\__init__.py", line 32, in getBackend
return Backend(win, *args, **kwargs)
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\backends\pygletbackend.py", line 227, in __init__
self._origGammaRamp = self.getGammaRamp()
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\backends\pygletbackend.py", line 329, in getGammaRamp
return getGammaRamp(self.screenID, self.xDisplay)
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\backends\gamma.py", line 128, in getGammaRamp
raise AssertionError('GetDeviceGammaRamp failed')
AssertionError: GetDeviceGammaRamp failed
Exception ignored in: <bound method Window.__del__ of <psychopy.visual.window.Window object at 0x000002A3393D66D8>>
Traceback (most recent call last):
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\window.py", line 501, in __del__
self.close()
File "D:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\visual\window.py", line 1327, in close
self.backend.close() # moved here, dereferencing the window prevents
AttributeError: 'NoneType' object has no attribute 'close'
I can run this code in windows 1809 normally. But when I update windows to 1903, this error occured. Help!