Platform Independence

The package is written almost entirely in Python using platform independent libraries (see list below). Since these are all available on all popular platforms PsychoPy will run anywhere and is limited only by your graphics card (make sure you have a decent 3D-accelerated card).

Like many python modules PsychoPy is built and dependent on many other libraries. For Windows and OSX users these are all provided in a single package from the downloads page (see link to the left).

Note that PsychoPy versions 0.80 and later were written for Python 2.4 and new numpy (0.96 or later). If you are using Python23 or the old Numeric/namarray packages, this is a good time to switch to the improved versions! (see the Changelog.txt with PsychoPy).

For Windows users:

If you haven't installed PsychoPy before and don't want to fetch all the packages yourself then just install the dependenciesWin32_py2.5.zip from the downloads page which includes everything you need. Once downloaded you should

Alternatively double click each package to install individual parts.

Then install the most recent version of PsychoPy itself. You'll now find a link to PsychoPy IDE in >Start>Progams>PsychoPy. Click that and go to the help menu to see some demos working.

On subsequent occasions you can simply download and double-click the smaller Psychopy.xxxx.exe installer files.

If you have already installed the some or all of dependencies or have an unusual installation in any way (e.g. in non-standard directory) then don't use the install.bat script. It will overwrite your versions of the dependencies and may put things in the wrong places!

You should make sure you have reasonably current drivers for your graphics card (download the latest from the vendor, rather than using the pre-installed windows drivers). You might also want to add C:/Python24 to your Windows path. To do that, right-click "My Computer" and select properties. Select the "Advaced" tab and the "Environment Variables" button. Now, in the System Variables window, double-click "path" and add the text C:/Python24/; C:/Python24/scripts; (somewhere in the line).

For Mac OS X users:

  1. Intel Mac users can simply Download the application bundle and drag it to their Applications folder! The app bundle contains its own independent python and all the dependencies and will not interact with anything else on your system (except its own preferences).
  2. For PPC macs or for intel users that want their own custom python for running PsychoPy Download the dependencies package, extract to a new folder(?) and double-click install_all.command. If you take this method you can update to the latest version by opening a terminal and typing:
    sudo /usr/local/bin/easy_install-2.5 -N -Z -U psychopy

NB. PsychoPy does not run correctly on IDLE, so you need to use another method to run PsychoPy programs such as terminal. You can also use another Python IDE such as Eclipse with the PyDev plugin. Click here and here for some help getting Eclipse and PyDev up and running on a mac.

For Linux (and UNIX) users:

For (k)ubuntu users the installation is very straightforward:
1) install the dependencies with

    sudo apt-get install python-scipy python-opengl python-pygame python-wxgtk2.8 python-imaging python-matplotlib

2) install PsychoPy with

    sudo apt-get install python-setuptools 
sudo easy_install-2.5 --prefix /usr/local -N -Z -U psychopy

3) create the first basic monitor setup file with

    sudo python /usr/local/lib/python2.5/site-packages/PsychoPy-0.93.7-py2.5.egg/monitors/calibTools.py

(replace the version in the path with the actual version of PsychoPy)

Dependencies

If you want to install each library individually rather than use the simple distributions of packages above then you can download the following. Make sure you get the correct version for your OS and your version of Python.

Please send feedback to the mailing list

Valid XHTML 1.0! Valid CSS!