Test the installation
If you have just installed PsychoPy (or have upgraded and you have having issues with experiments that previously worked) I would recommend that you create a very simple experiment from scratch to test your installation.
- Add a Text component from Stimuli. Keep the default values.
- Add a Keyboard component from Responses. Keep the default values.
- Save the file in an empty folder.
- Run the test.
- Wait for the starting dialogue box to appear. Click OK.
Text should appear for 1 second. The experiment should end when you press a valid key.
PsychoPy should return to the builder view but also add information to the Runner window which includes warnings (which you can ignore) and errors.
Exit code 0 means no errors (even if you didn’t get what you wanted).
If you are using a Mac then you may need to authorise PsychoPy to monitor your input.
- Go to System Preferences (easiest way is to press Cmd+space together, and type System Preferences)
- Go to Security & Privacy (top row, the house symbol).
- Go to Privacy (top right) and unlock.
- Go to Input Monitoring (left hand side)
- Add a tick next to PsychoPy
- Click Save and Reopen. PsychoPy will need restart.
If this test fails then there is an issue with your installation which you need to solve before working on your own experiment.