psychopy.org | Reference | Downloads | Github

NameError: name 'numpy' is not defined BUILDER

Hi everyone,

some months ago I created a Builder PsychoPy experiment and it perfectly worked. I was trying to change it a little bit to run a new experiment, but this is the message I get:

Failed to load C:\Users\lorenzo.vercesi\Desktop\PILOT BUILDER\Pilot.psyexp. Please send the following to the PsychoPy user list
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 701, in loadExperiment
exp.loadFromXML(fileName)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 649, in loadFromXML
param.val = eval(’%s’ % (param.val))
File “”, line 1, in
NameError: name ‘numpy’ is not defined

The script starts running and shows the initial welcome screen text, but then it stops and it quits. It happens immediately before running the first loop.
I have not changed anything relevant, just file names and minor things, nothing substantial. I really don’t know how to proceed further. Could someone give me a little help with that?
Thank you so much!

Hi @LorV , have you used numpy somewhere in your Builder components?