I run PsychoPy code from Spyder, an editor for Python. I am working on a mac OS X El Capitan Version 10.11.4. The experiment runs, but when it ends the window freezes and I have to force quit it. I also tried to use fullscr=False and a very low size for the window, but I still have the problem.
I am an absolute beginner, so I don’t know what to do anymore. Thank you for your help!
For example, I have the problem when I run this code:
from psychopy.visual import Window, TextStim
from psychopy.core import wait
DISPSIZE = (800,600)
FGC = (-1,-1,-1)
BGC = (1,1,1)
win =Window(size = DISPSIZE, units=‘pix’, fullscr=False, color = BGC)
fix = TextStim(win,text=’+’,color = FGC, height = 30)
prime = TextStim(win,text=‘LOVE’,color = FGC, height = 30)
mask = TextStim(win,text=’####’,color = FGC, height = 30)
target = TextStim(win,text=‘BLUR’,color = FGC, height = 30)
fix.draw()
win.flip()
wait(1.2)
prime.draw()
win.flip()
wait(0.032)
mask.draw()
win.flip()
wait(0.1)
target.draw()
win.flip()
wait(1)
win.flip()
wait(1)