Platform-specific instructions: Windows

There are multiple ways to install Expyriment. The recommended methods require an active internet connection. If you need to install Expyriment on a computer that has no internet connection (like lab computers), please use the offline method.

Offline

If you don’t have an internet connection on the computer you want to install Expyriment on, you can download the necessary packages on a different computer that has, and then transfer them to the target computer and install them there. After installation your can use Expyriment like any other Python package.

On an computer with internet connection (same OS, architecture and Python version!)

  1. On the Desktop, create a directory called Expyriment_Installation

  2. Download Python 3.13.5 to Expyriment_Installation

  3. To download Expyriment and dependencies into Expyriment_Installation, run in a terminal:

    py -m pip download -d %userprofile%\Desktop\Expyriment_Installation expyriment
    
  4. Copy the directory Expyriment_Installation from the Desktop to a portable storage device

On the target computer

  1. Copy the directory Expyriment_Installation from the portable storage device to the Desktop

  2. Install Expyriment_Installation\python-3.13.5-amd64.exe

  3. To create (and activate) a virtual environment, run in a terminal:

    py -m venv xpy-env
    xpy-env\Scripts\activate
    
  4. To install Expyriment, run in a terminal:

    pip install --no-index --find-links %userprofile%\Desktop\Expyriment_Installation expyriment
    

Notes

Parallel port communication

To use parallel port communication, install inpout32 or dlportio (according to the instructions given at each link)

Do not start your experiments out of IDLE when testing participants

If you are using the IDLE editor that comes with the Python installation, be aware that IDLE itself is written in Python. Starting your Expyriment programme out of IDLE (by clicking on “Run” or by pressing F5), might thus lead to improper timing!

We therefore strongly suggest to run Expyriment programmes from the command line when testing participants.