As of the May 8th, 2013 release of PsychoPy, the ioHub Package has merged with
the PsychoPy package and is now being distributed as part of PsychoPy.

The documentation provided here is still up to date however the installation instructions
below are only needed if you can not use the PsychoPy Python Distribution Installer
provided for Windows or OS X. Please visit the PsychoPy
website and follow the installation and download links to learn how to install one of these
PsychoPy Python Distributions.

If you do need to perform a manual installation of PsychoPy and wish to also
use the ioHub submodule within it, then the following manual installation
instructions can still be of use.

Several of the devices supported by ioHub require the installation of a binary OS driver
for the device that can not be included with the ioHub package due to licensing
considerations. Please refer to the documentation page for each device you will be using to ensure that
any device specific driver required is known about and is installed.

The following Python packages need to be installed on the system you plan to run
ioHub on. Some packages can be installed using pip, while other should be installed
by downloading the package from the provided URL, unpacking the tarball, and
installing the package by typing:

> python setup.py install

in a terminal session where you have changed directories to the location of the uncompressed
python package source that contains the setup.py script.

Some packages downloaded via a URL are a .deb file, in which case you just download
the file and install it by double clicking the .deb file once downloaded.

Note that for both ‘pip’ and manual ‘python setup.py install’, depending on your
Linux distribution and system configuration, you may need to run pip or
‘python setup.py install’ with root privileges by placing ‘sudo ‘ in front of the
command line text to be run.

For example:

> sudo pip install package_name

where package_name is the name of one of the required python packages.

The following Python packages need to be installed on the system you plan to run
ioHub on. Some packages can be installed using pip, while other should be installed
by downloading the package from the provided URL, unpacking the tarball, and
installing the package by typing:

> python setup.py install

in a terminal session where you have changed directories to the location of the uncompressed
python package source that contains the setup.py script.

Note that for both ‘pip’ and manual ‘python setup.py install’, depending on your
OS X settings and python configuration, you may need to run pip or
‘python setup.py install’ with root priveledges.

If your user has admin rights, this can be done by running the command with ‘sudo’
at the start of the command and entering your password when prompted. For example:

> sudo pip install package_name

where package_name is the name of one of the required python packages.

greenlet The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called “tasklets”. ( pip install greenlet )

pytables PyTables is a package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data. ( pip install tables ). FIRST INSTALL ‘numexpr’ from the list below, as it is a dependency of tables)