Run PsychoPy experiment without opening Builder

Hello,

Is there any way to run the PsychoPy experiment directly (e.g. using windows command prompt) without opening the Builder first?

Thank you

Hi, yes you can run the experiment using the Python interpreter that is packaged with the standalone software. E.g., if you are running from Windows, something like:

C:\Program Files(x86)\PsychoPy\python.exe path_to_your_script.py

2 Likes

I opened the python interpreter and then entered the path to my compiled script but I got this error (the attached picture). Did I do something wrong?

Thank you

Oh, did you run that from the Python interpreter? You just run it from the console, without opening Python.

1 Like

Thanks. It worked