OS : macOS Sierra
PsychoPy version: 3
**Standard Standalone? y
**What are you trying to achieve?: Use “allowed key” variable
I tried to use python 2.7 and python 3.6, didn’t work.
When I’m running the experiment with the key variable, it quit the experiment and I get the following message:
if not isinstance(key_, basestring):
NameError: name ‘basestring’ is not defined
*The experiment works perfectly when all keys are allowed. And PsychoPy reads other variables from the xlxx file.
Any ideas?
Thank!!