Installing Perception Toolkit Dependencies

From KubovyLab

Jump to: navigation, search

Development Setup: Libs | IDE | Source | Execution

Java Experiments

The Java experiments don't have any additional dependencies, except for Java 5 or later.


Python Experiments

We are in the process of updating these instructions for creating MacOS X Universal binaries. The original setup instructions may be found here: Pre-Universal Installation Instructions.

Steps below reference binary packages found here: PythonMac Universal.

The links provided below are for the library versions which were the latest at the time of writing. If you find a broken link or note there is a newer version, please send me a message so I can fix it.

  1. Download and install:
    1. Universal version of Python 2.4.
    2. wxPython
    3. PyOpenGL
    4. PyObjC
    5. PyGame
    6. Download, build, and install py2app:
      1. Download py2app source.
      2. Unpack the archive
      3. Run the MacOS X Terminal application (available in your /Applications/Utilities folder).
      4. Enter py2app-x.y.z folder.
      5. Run sudo python2.4 setup.py install
      6. In version 0.3.5 of py2app you have to apply this patch to get the icon to appear.
  2. For VisionEgg based experiments:
    1. Download and install:
      1. Numeric
      2. PIL
      3. Xcode 2.4
    2. Download the VisionEgg 1.0 source.
    3. Unpack the archive.
    4. Run the MacOS X Terminal application (available in your /Applications/Utilities folder).
    5. Fix PIL permissions with command: sudo chmod -R +r /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PIL*
    6. Enter the visionegg-1.0 folder.
    7. Run sudo python2.4 setup.py install

Development Setup: Libs | IDE | Source | Execution

Personal tools