Platform-specific instructions: Windows¶
There are two different ways to install Expyriment on Windows.
Using PyPi (recommended)¶
Install Python 2.7.10 (during installation, also select “Add python.exe to Path”!)
Install Pygame
In a command prompt, run
python -m pip install --upgrade pip python -m pip install --upgrade expyriment
For the additional packages (optional):
Manually (alternative)¶
Install Python 2.7.10
Install Pygame
Install PyOpenGL
Download
expyriment-0.8.0-py2-none-any.whl
from the release page and install it in a command prompt withpython -m pip install expyriment-0.8.0-py2-none-any.whl
For the additional packages (optional):
Notes¶
- Make sure python.exe is in your Path
- If you get an an error that ‘python’ is not recognized as an internal or external command, operable program or batch file, Windows does not know where to find the Python interpreter. To fix this, add python.exe to the Path, as described here.
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.