ianhussey / ImplicitAssociationTest

Implicit Association Test (IAT) programmed in PsychoPy [no longer maintained]
GNU General Public License v3.0
23 stars 13 forks source link

Error running in Psychopy #6

Closed nicballarin closed 6 years ago

nicballarin commented 6 years ago

When I try to run the program in PsychoPy, I get to the instruction page and as soon as I press E or I, it crashes and gives me the following error:

Traceback (most recent call last): File "/Users/Nic/Desktop/Thesis/IAT Downloads/ImplicitAssociationTest-master/IAT.py", line 572, in if not isinstance('requiredAllowed', basestring): NameError: name 'basestring' is not defined

ianhussey commented 6 years ago

I googled your name error and found this, which suggests that you might be trying to run the script in the Python 3 version of PsychoPy rather than the Python 2 version. This Python 3 version was added recently. I'll add a note to the readme that you need to run it in the Python 2 version.