PsychoPy

Last modified by Iris Spruit on 2026/01/30 14:43

Information

Subpages

Introduction

PsychoPy is an open-source, Python based software package used for creating behavioral experiments. It features and easy to use graphical user interface. PsychoPy can be used for online research in combination with Pavlovia.

General Information

Table below is clickable to enlarge, filter or sort.
Click here to see the master table.
Filters applied by default (Name=PsychoPy), to see the entire table, click on it and press reset.

Click here to see the table legend

Name: The software name.
Description: A very short description of the software. For more information, visit the software page (if available) by clicking on the software name.
Version: The software version.
Type: The type of software, this can be an App or a Service. An App is an offline application that can be installed on a PC. A Service is an online service that can be approached through a browser.
Online: Whether the software can be used for online research. This entails applications and services that are used for presenting tasks and questionnaires online. This column is used to filter the Online Software List.
Support: The degree of support that the SOLO Research Support Team provides for the software. This can be Full, Minimal or None.
Lab PCs: Whether the software is installed on the Lab PCs at SSH Leiden. This column is used to filter the Lab PC Software ListYes means the software is installed by default on all lab PCs, On Request means it is not installed by default, but can be requested, No means it is not installed and can generally not be requested.
Analysis PCs: Whether the software is installed by default on the Analysis PCs in the ResearchData Analysis room 1B02 in the FSW building. This column is used to filter Analysis PC Software ListYes means the software is installed by default on all analysis PCs, On Request means it is not installed by default, but can be requested, No means it is not installed and can generally not be requested.
LIBC PCs: Whether the software is installed on the PCs at the LIBC MRI scanner. 
VR PCs: Whether the software is installed on the VR PCs. Yes means the software is installed on all VR PCs, On Request means it is not installed, but can be requested, No means it is not installed and can generally not be requested.
Status: The software can be Active, Limited, or Archived. Active software is currently in use and available, Limited software is in use on one or some PC's, but may not be available for installation on managed Leiden University PCs, Archived software is generally not used anymore and not available to install on managed Leiden University PCs.

Name

Internal

DescriptionVersionTypeOnlineSupportLab PCsAnalysis PCsLIBC PCsVR PCsStatusLicense and InstallationSystem OwnerFunctioneel BeheerTechnisch BeheerKey UserNotes
AcqKnowledgeAcqKnowledge AdminSoftware for recording and analyzing physiological signals (such as ECG).

5.0.81 with NIBP100E license

AppNoFullOn RequestOn RequestNoNoActivePaid software. Installed only by SOLO. Can only be used with a license dongle, provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
AcqKnowledgeAcqKnowledge AdminSoftware for recording and analyzing physiological signals (such as ECG).5.0.6AppNoFullYesYesNoNoActivePaid software. Installed by the ISSC. License dongle provided by SOLO for use on non-university devices.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
AcqKnowledgeAcqKnowledge AdminSoftware for recording and analyzing physiological signals (such as ECG).4.4AppNoMinimalNoNoYesNoLimitedPaid software. Not available at ISSC anymore. License dongle provided by SOLO for use on non-university devices.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit)Installed on the Win 7 LIBC PC.
ActiViewActiView AdminSoftware for recording EEG data.9.0.2AppNoFullYesNoNoOn RequestActiveFree software.Elio Sjak-ShieRST/LST (Iris Spruit/Evert Dekker)ISSCRST/LST (Iris Spruit/Evert Dekker) 
Anaconda-Package and environment manager used for creating and using custom Python environments.2023.09AppNoMinimalNoNoYesNoLimitedFree software.????Installed on the Win 10 LIBC PC.
Anaconda-Package and environment manager used for creating and using custom Python environments.2022.10AppNoFullYesYesNoOn RequestActiveFree software.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
ATLAS.ti-Software for analyzing qualitative data.latest available (currently installed is 22)AppNoNoneNoYesNoNoActivePaid software. Installed by the ISSC. License provided by ISSC.??ISSC? 
ArborXR- ?ServiceNoFullNoNoNoYesActive      
BrainVision Analyzer-Software for analyzing EEG data.latest available (currently installed is 2.2.0)AppNoMinimalNoYesNoNoActivePaid software. Installed by the ISSC.??ISSCHenk van Steenbergen 
DEP-Tool-Platform for managing Ethics, Datamanagement and Privacy Form.n.a.ServiceNoFullN/AN/AN/AN/AActiveOwned by Leiden, support and development by Emerald ITArie in 't VeldRST (Kerwin Olfers)ExternalRST (Kerwin Olfers) 
E-PrimeE-Prime AdminSoftware suite used for building and administering computer tasks.3.0.3.219AppNoFullYesYesNoNoActivePaid software. Installed by the ISSC. License via VPN or dongle provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
E-primeE-Prime AdminSoftware suite used for building and administering computer tasks.3.0.3.80AppNoMinimalNoNoYesNoLimitedPaid software. Not available at ISSC anymore. License via VPN or dongle provided by SOLO.????Installed on the Win 7 LIBC PC and interview PC in 3053K.
E-PrimeE-Prime AdminSoftware suite used for building and administering computer tasks.2.0.10.356AppNoMinimalOn RequestOn RequestYesNoActivePaid software. Installed by the ISSC. License via dongle provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit)Installed on the Win 7 LIBC PC.
E-Prime Extensions for EyeLink (EEE)-E-Prime extension required for EyeLInk eye tracking in E-Prime3.0.1.130AppNoFullOn RequestOn RequestOn RequestNoActivePaid software. Not packaged, installed by SOLO.Elio Sjak-ShieRST (Iris Spruit) RST (Iris Spruit) 
E-Prime Extensions for Tobii Pro (EET)-E-Prime extension required for Tobii eye tracking in E-Prime.3.2.1.105AppNoFullYesYesNoNoActivePaid software. Installed by the ISSC. EET is not part of the E-Prime installation and needs to be installed separately.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
ELANELAN AdminSoftware for analyzing behavioral (video) data.6.4AppNoFullNoYesNoNoActiveFree. Installed by the ISSC or zip downloaded by user.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
EyeLink Developers Kit-Required for communicating with an EyeLink eye tracker from the Stimulus PC.latestAppNoMinimalOn RequestNoYesNoActiveFree. Not packaged, installed by SOLO.Elio Sjak-ShieRST (Iris Spruit)n.a.RST (Iris Spruit)Installed on the Win 7 and Win 10 LIBC PCs.
Git-Command-line tool for version control.latest available (currently installed is 2.18)ServiceNoNoneYesYesNoYesActiveFree     
GitHub Desktop-GUI tool for version control.LatestAppNoFullNoNoNoYesActiveFree     
GorillaGorilla AdminOnline service used for building and hosting online tasks.?ServiceYesMinimalN/AN/AN/AN/AActivePaid license for FSW, FGW students & staffElio Sjak-ShieRST (Kerwin Olfers)ExternalRST (Kerwin Olfers) 
Inquisit-Software for building and administering computer tasks.5.0AppNoNoneNoNoYesNoLimitedLicense required. SOLO does not have any licenses.    Installed on the Win 7 LIBC PC.
Insta360 Studio-Edit spherical (180-360*) videosLatestAppNoMinimalNoNoNoYesActiveFree. Installation requires camera serial number for verification.     
JATOSJATOS AdminOnline service used for hosting online tasks.3.9.7ServiceYesFullN/AN/AN/AN/AActiveSelf-hosted, free for Leiden students & staffElio Sjak-ShieRST (Kerwin Olfers)ISSCRST (Kerwin Olfers) 
JetBrains Rider-IDE for C# development. Works well with Unity.LatestAppNoFullNoNoNoYesActiveFree educational license through GitHub Education.     
MATLAB-Programming and computing software.2022bAppNoFullOn RequestYesYesNoActivePaid software. Installed by the ISSC. Licence provided by the ISSC or via Mathworks.com.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie)Installed on the Win 10 LIBC PC with LUMC license.
MATLAB-Programming and computing software.2021bAppNoMinimalNoNoYesNoLimitedPaid software. Campus license via Mathworks.com.????Installed on LIBC interview PC in 3053K.
MATLAB-Programming and computing software.2012B AppNoNoneNoNoNoNoArchivedPaid software. Campus license via Mathworks.com.???? 
MATLAB Runtime-Required for running MATLAB applications (such as the PhysioData Toolbox).R2023bAppNoMinimalNoYesNoNoActiveFree. Installed by the ISSC on managed PCs. Required for PhysioData Toolbox v0.7.0Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
MATLAB Runtime-Required for running MATLAB applications (such as the PhysioData Toolbox).R2022bAppNoMinimalNoOn RequestNoNoActiveFree. Installed by the ISSC on managed PCs.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
MATLAB Runtime-Required for running MATLAB applications (such as the PhysioData Toolbox).R2020b (v9.9)AppNoMinimalNoOn RequestNoNoActiveFree. Installed by the ISSC on managed PCs. Required for PhysioData Toolbox v0.6.3.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
MATLAB Runtime-Required for running MATLAB applications (such as the PhysioData Toolbox).R2018b (v9.5)AppNoMinimalNoOn RequestNoNoActiveFree. Installed by the ISSC on managed PCs. Required for legacy versions of the PhysioDat a Toolbox.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
Meta Horizon Link-Cast directly from Quest HMD to PC.LatestAppNoFullYesYesYesYesActiveFree     
Meta Quest Developer Hub-Developer tools for interacting with Quest HMDs.LatestAppNoFullNoNoNoYesActiveFree     
Neuro BS Presentation -Software for building and administering computer tasks.20.0AppNoNoneNoNoYesNoLimitedLicense managed by Mischa de Rover????Installed on the Win 7 LIBC PC.
OpenSesameOpenSesame AdminSoftware for building and administering computer tasks.4.0.24 and python 3.11AppYesFullYesYesNoOn RequestActiveFreeElio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
OpenSesameOpenSesame AdminSoftware for building and administering computer tasks.4.0.13 and python 3.11AppYesMinimalNoNoYesNoLimitedFree????Installed on the Win 10 LIBC PC.
OpenSesameSoftware for building and administering computer tasks.3.3.14 and python 3.7AppYesFullNoNoNoNoArchivedFreeElio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
OpenSesameOpenSesame AdminSoftware for building and administering computer tasks.3.3.12 and python 3.7AppNoMinimalNoNoYesNoLimitedFree????Installed on LIBC interview PC in 3053K.
oTree-Python-based framework for creating interactive experiments.?ServiceYesNoneNoNoNoNoActive ???Erik de Kwaadsteniet 
PavloviaPavlovia AdminWeb service for hosting online tasks.?ServiceYesFullN/AN/AN/AN/AActivePaid license for FSW/FGW students & staffElio Sjak-ShieRST (Kerwin Olfers)ExternalRST (Kerwin Olfers) 
PhysioData Toolbox-Software for analyzing physiological data (such as ECG).0.7.0AppNoFullNoRunnableNoOn RequestActiveFree. A MATLAB Component Runtime is required to run.Elio Sjak-ShieElio Sjak-ShieElio Sjak-ShieElio Sjak-Shie 
PsychoPy-Software for building and administering computer tasks.2024.1.5AppYesFullYesYesNoOn RequestActiveFreeElio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
PsychoPy-Software for building and administering computer tasks.2023.2.3AppYesMinimalNoNoYesNoLimitedFree????Installed on the Win 10 LIBC PC.
PsychoPy-Software for building and administering computer tasks.2022.2.4AppYesFullNoNoYesNoLimitedFree????Installed on LIBC interview PC in 3053K.
PsychToolboxPsychToolbox AdminMATLAB Toolbox used for building and administering computer tasks.3AppNoFullOn RequestOn RequestNoOn RequestActivePaid license required for versions 3.0.20 and later. Currently no license available.Elio Sjak-ShieRST (Elio Sjak-Shie)ISSCRST (Elio Sjak-Shie) 
Python-Programming and computing software.3.11AppNoFullYesYesNoOn RequestActiveFree??ISSCFSW: RST (Elio Sjak-Shie) 
Qualtrics-Online service for building and administering questionnaires.?ServiceYesFullN/AN/AN/AN/AActivePaid license for all university staff and students. Login with ULCN.LibraryLibraryExternalFSW: RST (Kerwin Olfers) 
R*-Programming and computing software.latest available (currently installed is 4.3.0)AppNoMinimalNoYesNoOn RequestActiveFree??ISSC? 
R*-Programming and computing software.4.3.1AppNoMinimalNoNoYesNoLimitedFree????Installed on the Win 10 LIBC PC.
Shinyapps.ioShiny AdminService for deploying Shiny applications.?ServiceYesNoneN/AN/AN/AN/AActiveLimited shared license on request??ExternalJuan Claramunt 
SideQuest-Side-load packages unto Android-based devices (e.g. Quest HMD).v0.10.42AppNoFullNoNoNoYesActiveFree     
SONA-Online service for advertising studies and awarding participant credits.?ServiceYesFullN/AN/AN/AN/AActivePaid license, available for students & staff.??External? 
SPSS-Software used for statistical data analysis.?AppNoNoneNoNoNoNoActivePaid software. Installed by the ISSC. License provided by ISSC.??ISSC? 
Stereokit-SDK for developing XR/MR applications.LatestAppNoMinimalNoNoNoYesActiveFree     
SurfDrive-Windows integration for  the SurfDrive cloud sync service.LatestAppNoFullNoYesNoNoActiveFree. Surf academic account required for use.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
TES RoomBookingSSH Booking AdminOnline service for lab booking.?ServiceYesMinimalN/AN/AN/AN/AActivePaid license, accounts managed by SOLO?Kerwin OlfersExternalKerwin Olfers 
The Observer XTThe Observer XT AdminSoftware for analyzing behavioral (video) data.16AppNoFullNoNoNoNoActiveInstalled by the ISSC. Requires license provided by SOLO (currently no licenses).Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Eye Tracker Browser-Software for setting up a Tobii eye tracker (outdated, use the Eye Tracker Manager). AppNoMinimalNoNoNoNoArchivedInstalled by SOLO.     
Tobii Pro Eye Tracker ManagerTobii AdminSoftware for setting up a Tobii eye tracker.2.6.1AppNoFullYesYesNoNoActiveFree. Installed by ISSC.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro Glasses Controller-Software for setting up a Tobii glasses 3 recording.3AppNoFullOn RequestNoNoNoActiveFree. Not packaged, installed by SOLO.Elio Sjak-ShieRST (Iris Spruit) RST (Iris Spruit) 
Tobii Pro Glasses Controller-Software for setting up a Tobii glasses 2 recording.2AppNoFullOn RequestNoNoNoActiveFree. Not packaged, installed by SOLO.Elio Sjak-ShieRST (Iris Spruit) RST (Iris Spruit) 
Tobii Pro LabTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.24.21AppNoFullYesYesNoNoActiveInstalled by the ISSC. Requires license provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro LabTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.1.241AppNoFullOn RequestOn RequestNoNoActiveInstalled by the ISSC. Requires license provided by SOLO.Eli Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro LabTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.1.217AppNoFullOn RequestOn RequestNoNoActiveInstalled by the ISSC. Requires license provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro LabTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.1.194AppNoFullOn RequestOn RequestNoNoActiveInstalled by the ISSC. Requires license provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro LabTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.1.161AppNoFullOn RequestOn RequestNoNoActiveInstalled by the ISSC. Requires license provided by SOLO.Elio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 
Tobii Pro StudioTobii AdminSoftware for administering eye tracking tasks and analyzing eye tracker data.3.4.8AppNoMinimalNoNoNoNoArchivedThis software is EOL. Licenses cannot be activated.n.a.n.a.n.a.RST (Iris Spruit) 
Unity 3D-Game engine for 2D / 3D / XR applications and games.6.3.x
(LTS)
AppNoFullNoNoNoYesActiveFree     
Unity 3D-Game engine for 2D / 3D / XR applications and games.2022.3.x (LTS)AppNoFullNoNoNoYesActiveFree     
Unity 3D-Game engine for 2D / 3D / XR applications and games.2021.3.x (LTS)AppNoFullNoNoNoYesActiveFree     
Unity Version Control-Version control for Unity.LatestServiceNoFullNoNoNoYesActiveFree for educational and personal use.     
Visual Studio Code-IDE for development.LatestAppNoFullOn RequestOn RequestNoYesActiveFree     
VU-DAMS-Software for analyzing physiological data collected with VU-AMS hardware.4.3/4.6AppNoMinimalOn RequestOn RequestNoNoActiveFreeElio Sjak-ShieRST (Iris Spruit)ISSCRST (Iris Spruit) 

Availability, support and advice

PsychoPy comes preinstalled on labcomputers in the FSW (see the Lab PC Software List to check which version). PsychoPy can be requested for work PC's via the ISSC Helpdesk. For unmanaged/personal computers PsychoPy can be downloaded here. SOLO provides only very limited basic support for PsychoPy.

Warning

When both OpenSesame and PsychoPy are installed on a PC, make sure to open the correct PsychoPy version, as OpenSesame comes with its own PsychoPy version. If you search for "PsychoPy" in the Windows start menu, the OpenSesame PsychoPy version usually comes up first. In the picture, the PsychoPy-2024.1.5 is the system installation, and the correct version, while the PsychoPy app that is selected is the OpenSesame PsychoPy version.

Markers

To send markers with PsychoPy using the UsbParMarker or EVA, the python_markers library can be used, see Github: solo-fsw/python-markers. To use the python_markers library, place the python_markers folder in the same location as your PsychoPy task, and implement the code as described in example.py in your task. The python_markers folder can be downloaded by downloading or cloning the python_markers repo.

Eye Tracking

The necessary plugins or libraries for eye tracking can be installed in the PsychoPy builder when going to Tools > Plugin/packages manager. More information about incorporating eye tracking in your PsychoPy experiment can be found here: Communicating with an Eyetracker — PsychoPy v2024.2.4, but note that these are general instructions. More information on Tobii and EyeLink can be found below.

Tobii

There are different plugin/libraries available for communicating with Tobii, see below.

Using the Tobii Eyetracker Support Plugin

To integrate eye tracking in your experiment with the Tobii Eyetracker Support plugin, follow the information that is provided here: Communicating with an Eyetracker — PsychoPy v2024.2.4. Note that this plugin does not work in all versions of PsychoPy. When you are using a Tobii eye tracker that is supported by the Tobii SDK 2.0, such as the Fusion or Spark (see Supported eye trackers - Tobii Pro SDK documentation), version 2024.2.5 of PsychoPy seems to work without issues.

When you are using an older model, such as the X3-120 or X2-60, version 2022.2.5 of PsychoPy seems to work without issues. You can run this version from a newer version of PsychoPy:

  • Make sure that in the current version of PsychoPy the Tobii plugin is installed. Go to Tools > Plugin/packages manager > install the Tobii Eyetracker Support (psychopy-eyetracker-tobii) plugin
  • Run your task in PsychoPy version 2022.2.5. Go to the properties of the task and select 2022.2.5 at Use PsychoPy version.

Note that the Validation object does not seem to work in PsychoPy 2022.2.5.

Using the Titta Library

An alternative to using the standard Tobii Eyetracker Support plugin, is the Titta library. This library works very well with both the newer Tobii eye trackers (Fusion, Spark) and discontinued Tobii eye trackers (X3-120, X2-60) in different versions of PsychoPy. See for more information marcus-nystrom/Titta and see marcus-nystrom/Titta - demo experiments for a demo PsychoPy task. The Titta library is used only in code, it does not feature PsychoPy builder objects. Titta also offers an integration with Tobii Pro Lab in External Presenter mode.

To install the Titta library in the PsychoPy builder, go to Tools > Plugin/packages manager > go to the Packages tab and click on Open PIP Terminal. Here, run pip install titta. If Titta is already installed, but needs to be updated, run pip install --upgrade titta.

When you use Titta, make sure to cite it accordingly, see marcus-nystrom/Titta.

The Titta library also provides examples for analyzing the gaze data (.h5 files). Make sure to follow the sample task and test out the whole analysis before starting data collection.

For analyzing pupil data, the PhysioData Toolbox can be used. The File Converter's Eye-Tracking TSV File Converter can be used to convert tsv data files to PhysioData files. Note that this will first require the conversion of the h5 files to tsv files.

Using the Tobii SDK with PsychoPy in code

When you use Python with the PsychoPy library to create your task, you can use Titta (see above) or use the Tobii Pro SDK directly to communicate with your Tobii eye tracker: Free software development kit for eye trackers - Tobii.

When you are using a Tobii eye tracker that is supported by the Tobii SDK 2.0, such as the Fusion or Spark (see Supported eye trackers - Tobii Pro SDK documentation), you should use the SDK provided here: Tobii Pro SDK Downloads.

When you are using an older model, such as the X3-120 or X2-60, you should use version 1.11 of the SDK, which is provided here: How do I work with the new Tobii Pro SDK and Tobii Pro Eye Tracker Manager?.

Documentation can be found here: Python - SDK reference guide - Tobii Pro SDK documentation, make sure to select the correct version.

In general, make sure the EyeLink is connected properly to the Stimulus PC and that network communication configured (see How do I configure my network settings to connect to the EyeLink Host PC?), and that the EyeLink Developers Kit is installed (see EyeLink Developers Kit / API Downloads (Windows, macOS, Linux)). To arrange this on SSH lab PCs, please contact labsupport@fsw.leidenuniv.nl

When incorporating EyeLink eye tracking in a PsychoPy task, follow the installation instructions here: Getting Started with PsychoPy / EyeLink Integration (create an SR research account to view the thread). EyeLink communication is achieved through code, or with an EyeLink plugin that has PsychoPy GUI components.

To use only code to communicate with EyeLink, see also the following video: PsychoPy Integration for EyeLink Eye Trackers.

To use the EyeLink plugin for PsychoPy with GUI components, please read the manual carefully (download manual here: Getting Started with PsychoPy / EyeLink Integration). The EyeLink plugin can be installed through the Plugin & Packages tool (see for more information: About PsychoPy Plugins — PsychoPy Plugins v0.0.1). 

It is important to note that there are two SR research plugins available in PsychoPy, but that you should only install the psychopy-eyelink plugin. This plugin was created by SR research and provides access to the EyeLink eye tracking components in PsychoPy. When using the Plugin & Packages tool, the plugin is installed per user in C:\Users\%USERNAME%\AppData\Roaming\psychopy3\packages\Python38\site-packages.

PyschoPy-EyeLink-plugins2.png

SR Research plugins

EyeLinkPluginComponents.png

EyeLink components

When the psychopy-eyetracker-sr-research plugin is installed, the other, non-EyeLink eye tracking components can be used (see here for more information: GitHub - psychopy/psychopy-eyetracker-sr-research: Add support to PsychoPy for SR Reseearch eyetrackers). However, these components do not have all functionalities necessary for proper eye tracker communication, such as sending messages, and thus the installation of this plugin is not advised. Moreover, installing both the psychopy-eyelink plugin and the psychopy-eyetracker-sr-research plugin may result in errors.

It is also important to note that there is an eye tracker menu in PsychoPy, that can be reached by clicking on the Experiment Setting icon (cog wheel) and going to the Eyetracking tab. An Eyetracker Device can be selected. When using the psychopy-eyelink plugin, no Eyetracker Device will become available here, and the Eyetracker Device should be set to None. When using the psychopy-eyetracker-sr-research plugin (which is not recommended), SR Research Ltd can be selected at Eyetracker Device. 

../_images/eyeTrackers.png

Eyetracking tab. Select "None"  when using the psychopy-eyelink plugin.

Online

Psychopy offers the option to auto-translate your python code into JavaScript (or manually add JS), so that the experiment can be run online in combination with Pavlovia. However, you should be aware that not all features are available online, and that bugs still frequently occur. For a running overview of these issues, please consult the developer crib sheet and the forum.

Tips & Tricks

Syncing to Pavlovia from network drives.

Psychopy has the functionality to upload and sync (JavaScript compatible) experiments directly to Pavlovia.org.

1631267260535-237.png

Testing shows that this functionality works properly if the project files are located on the local C-drive. However, in some cases it does not work if the if the experiment folder/files are located on the network drive (e.g. in the P-drive). Throwing the following error:

1631267275043-238.png

By default, any project located on the P-drive will show the \\VUW\.. path when initially creating the project on Pavlovia from Builder:

1631267309303-176.png

There are two workarounds.

  1. Change this default path when first syncing to the shorter P:\  or J:\  notation, e.g.:

    \\VUW\Personal$\Homes\O\olferskjf\My Documents\Packaging\Psychopy\Experiments\BART

    to

    P:\My Documents\Packaging\Psychopy\Experiments\BART

    You can do this manually, or by clicking on the "Browse" button and navigating to the desired location.

  2. If the above does not fix the problem, move your experiment folder to the local (C) drive, and open it from there and then sync to Pavlovia.

FAQ

TopicQuestionAnswer

Error when syncing to Pavlovia

when creating a new project on pavlovia from the builder (or syncing to it), an error is thrown ending with "stderr: 'fatal: remote origin already exists".The workaround is placing your files on the local drive (instead of P or J-drive) or adjusting the default path. See here for further details.
Blank screen when running study in local browserRunning a JS study in the local browser, using the button in the builder, only shows an empty screen in the  browser.Make sure adblockers (like Ublock origin) are disabled or set to ignore http://localhost:12002/
2022.2.2 not syncing to PavloviaAfter installing the 2022.2.2 version, my experiments no longer sync properly to Pavlovia.In Experiment settings, make sure "Use PsychoPy version" is set to 2022 or 2022.2.2
Any error trying to run a a task with eye tracking In general, it may be helpful to first start PsychoPy (make sure it is the correct version, see Software list - XWiki), and then open your eye tracking task through File > Open. 
1733826186436-172.png

I am trying to run a task with eye tracking, but get an error:

AttributeError: 'NoneType' object has no attribute 'isRecordingEnabled'

This error generally occurs when the eye tracker plugin is not installed correctly or when you are using a version of PsychoPy that does not function well with eye tracking.

For Tobii, this error has been observed in version 2024.1.5 of PsychoPy. It seems that this version does not work well with Tobii. It is advised to use a different version (contact labbsuport@fsw.leidenuniv.nl). 

For EyeLink, this error has been observed when trying to run a task that was created with the psychopy-eyelink plugin, but the psychopy-eyetracker-sr-research plugin is also installed and the SR research eye tracker is selected in the Eyetracking properties. A possible solution would be to remove the psychopy-eyetracker-sr-research plugin, restart PsychoPy and make sure the Eyetracker device is set to "None". To remove the plugin, remove the folders that start with psychopy_eyetracker_sr_research in C:\Users\%USERNAME%\AppData\Roaming\
psychopy3\packages\Python38\site-packages.

sr research ltd keyerror.png

I am trying to run a task with EyeLink eye tracking, but receive an error:

KeyError: 'SR Research Ltd'

This error can also occur when you are trying to run a task that was created with the psychopy-eyelink plugin, but the psychopy-eyetracker-sr-research plugin is also installed and the SR research eye tracker is selected in the Eyetracking properties.

See possible solution above.

1733826174630-545.png

I am trying to run a task with EyeLink eye tracking, but receive an error:

NameError: name 'Initialize' is not defined.

The task crashes on the Initialize component, which is usually the first EyeLink component in the task. At the start of the task, PsychoPy should ask the user to fill in the name of the EDF file (which is the EyeLink data file). When this does not happen, this type of error usually occurs. 

It seems that communication with the eye tracker is not established through the plugin. The plugin is not installed, or not recognized/interpreted correctly. Make sure the plugin is installed correctly (in C:\Users\%USERNAME%\AppData\Roaming\
psychopy3\packages\Python38\site-packages). 

AttributeError: 'NoneType' object has no attribute 'getIOHubDeviceClass'

I am trying to run a task with Tobii eye tracking, but receive an error:

AttributeError: 'NoneType' object has no attribute 'getIOHubDeviceClass'

This error has been observed in version 2024.1.5 of PsychoPy. It seems that this version does not work well with Tobii. It is advised to use a different version (contact labbsuport@fsw.leidenuniv.nl). 
PsychoPy does not start.When starting PsychoPy, the splash screen appears but then goes away and nothing happens.See Troubleshooting — PsychoPy v2025.2.3, deleting the preferences and app data files (userPrefs.cfg and appData.cfg) should fix the issue.

Resources