I keep getting Unbounderror


OS : win 11
PsychoPy version: 2024.2.3
Standard Standalone? (y/n) y
**What are you trying to achieve?: load the variable from excel file to a list

As you can see, the loop recognizes the variables word and classifiers. But i keep getting this UnboundLocalError. It worked just fine 10 minutes ago. And then it isn’t working anymore.

Hello

Did you move or add the

print

command? You are referring to a variable before it is created.

Best wishes Jens

1 Like