How do I run .py file(created using psychopy2) in psychopy3?

Hi,

I was shared with a task by some kind author, and it doesn’t work, probably because it was made on an old version.

I tried inserting the code below as well as written on the information page, but it didn’t work.

import psychopy
psychopy.useVersion('2020.2.4')
from psychopy import visual, core, event
# the rest of your script follows

The white full screen only pops up and
then turns off immediately and no error message appears.

How do I fix it? :disappointed_relieved:

Could you share the full script? There’s probably something causing an infinite loop (which will be why it crashes with no error message), I’ll be better able to find it with the full script