Skip to content

Installing EyeScript on Windows

felixengelmann edited this page Feb 7, 2014 · 11 revisions
  1. From http://www.visionegg.org/Download%20and%20Install/Install%20on%20Windows/1.0/ install Python and Visionegg for stimuli presentation: (python, PIL, PyOpenGL, pygame, numpy, setuptools, visionegg):
  • On Windows 7 make sure to run the installation files in Admin Mode.
  • Python 2.5 (or newer but not Python >= 3)
  • PIL
  • PyOpenGL
  • pygame
  • numpy
  • setuptools
  • visionegg
  • Add C:\Python25\ to your path.
  1. Install GTK+ for advanced stimuli rendering (Unicode):
  • Get the GTK+ runtime from http://www.gtk.org/download/win32.php (gtk+-bundle*.zip files).
  • Unzip to C:\opt\gtk.
  • Then add the bin folder to your PATH. Make sure you have no other versions of GTK+ in PATH.
  • Run: pkg-config --cflags gtk+-2.0 and verify that it prints out something reasonable.
  • Run: gtk-demo and verify that it works.
  • Install PyGTK, PyCairo and PyGObject from: http://www.pygtk.org/downloads.html
  • Copy EyeScript-master\Resources\PangoText.py to C:\Python25\Lib/site-packages\visionegg\Text.py (overwrite the old one).
  1. Install Pylink and EyeScript:
  • Get Pylink for Windows from the SR Research Support Forum: https://www.sr-support.com/showthread.php?14-Pylink
  • Copy pylink25 to C:\Python\Lib\site-packages\pylink (version number must fit the Python version number)
  • Copy the EyeScript-master\Resources\EyeLinkCoreGraphics folder to C:\Python25\Lib\site-packages\pylink\EyeLinkCoreGraphics.
  • Copy EyeScript-master\EyeScript to C:\Python25\Lib\site-packages\EyeScript.

Clone this wiki locally