Psychopy/Installation

From TSG Doc
Revision as of 08:05, 27 October 2017 by Wilbert.vanham (talk | contribs)
Jump to navigation Jump to search

Installing Python and Psychopy for Windows

Do you want to install Psychopy? Please refer to the psychopy installation page or keep reading. Alternative methods for Windows and instructions for non-Windows users are here

Windows stand-alone

If you do not use Python for purposes other than PsychoPy experiments, you are advised to use the PsychoPy stand-alone Windows installer. Choose StandalonePsychoPy-1.85.4-win32.exe or something newer if present.

Stand-alone post install

You may want to install additional packages. The authors of Psychopy You can either use the method

Windows with PsychoPy 1.85.4 as library

If you already have Python 2.7 installed on your computer or if you want to use Python for other purposes as well, you are advised to install PsychoPy as library. This is substantially more work. Perhaps you would really prefer installing Linux on your system rather than doing this.

Doing this has become simpler with psychopy 1.85.3. Note that for the first two steps in the following instructions you need administrative privileges and for the third one it may be necessary. Chronological instructions:

  1. Install the newest 32 bit version of Python 2.7. You can download it here. If that does not work, go here and choose the 32 bit installer (Windows x86 MSI Installer). During installation choose 'add python.exe to path'.
  2. Install wxwidgets 2.8 If that does not work, go here and choose wxPython2.8-win64-unicode-2.8.12.1-py27.exe. It is the ancient library used by PsychoPy for its IDE. It is essential that you do NOT install wxpython/wxwidgets from another source.
  3. Download this file (right-click -> save link as...) with all other requirements. Use Windows file Explorer to go to the folder where you downloaded it. Shift-right-click to the right of the files (make sure the window is wide enough). Choose 'Open command window here'. From a command line type:
    pip install -r DEPS1853.txt
    Enjoy watching, and see if there are any errors.
  4. Now Psychopy is installed on your system. You may want to make a link that opens C:\Python27\Lib\site-packages\psychopy\app\psychopyApp.py with C:\Python27\pythonw.exe and has C:\Python27\Lib\site-packages\psychopy\app\Resources\psychopy.ico as icon.

I thank Christoph Gohlke for compiling the individual packages

Windows post install