On this page, you can find all available PyGaze packages and PyGaze installation instructions. For instructions on downloading Python and all of PyGaze’s dependencies, please look here.
Windows
Complete portable environment
We have modified the awesome WinPython portable Python environment to work with PyGaze and it’s dependencies. The cool part of this type of environment, is that you do not need to install it. Simply download the package, unzip it to a location of your choice, and voilà! A running, fully functional version of Python 2.7, including all PyGaze dependencies and some nifty tools, like the excellent Spyder code editor. You can even put it on a USB stick or an external hard drive (hence the term ‘portable’), allowing you to carry your own Python platform around (VERY useful for computers on which you do not want or can install anything!).
- WinPython PyGaze 0.6.0
- WinPython PyGaze 0.5.1
- WinPython PyGaze 0.4 (older version)
PyGaze package
Open a Command Prompt, and run the following command:
pip install python-pygaze
This will automatically install PyGaze in your default Python installation by using pip, an awesome package manager for Python.
Linux
Open a terminal, and run the following command:
pip install python-pygaze
Mac OS X
Open a terminal, and run the following command:
pip install python-pygaze
Source
Please note that the PyGaze source code is also available via GitHub, where you can participate in active development.
Installing the source code
- Download the package of your choice (choose from the downloads below)
- Unzip the downloaded package
- Extra step if you downloaded from GitHub: copy the resources folder into the pygaze folder
- Copy or move the unzipped pygaze folder to Python’s site-packages directory (on Windows: C:\Python27\Lib\site-packages; on Linux: usr/lib/pymodules)
- Test if the installation was a success, by opening a Python interpreter and typing:
import pygaze