ReferenceError: Can't find variable asarray

What version of PsychoPy are you using?

Is this thread relevant?