Name 'event' is not defined

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x):
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:

What did you try to make it work?:

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

Hello all,

I am new to the Psychopy. I have created an experiment (Stroop task and a short-term memory task). However, I am not able to run the experiment.

Please kindly have a look at the screenshot.
I would highly appreciate if you could help me figure it out.


Hi There,

To help future users I have edited this question to be a bit more informative (using the error name as the title of your question is a good way to do this!) :slight_smile:

Following this, if you search the name of the error in discourse this will be more likely to give useful solutions, such as this Name error: name 'event' is not defined

Hope this helps,

1 Like