Instructions for Vision Egg 1.1

Leopard, OSX 10.5.1 or 10.5.2

Vision Egg installs (without any problems reported) on both desktop and laptop Intel machines as well as a !PowerPC tower. First, install all the necessary packages (numpy, PIL, PyOpenGL, pygame, pyobjc, setuptools) from here. The preferred version of python currently is 2.4, so ensure that when you type "python" at a Terminal, you get 2.4. If that command starts a different version, install MacPython2.4 and change the "Current" aliases in the Frameworks directories to 2.4. Then, type easy_install visionegg, and the latest version of the Vision Egg should be automatically downloaded and installed. To get the demos and docs, download the source package.

To install from source, make sure you have Xcode so that after downloading visionegg source, you can install it by typing "python setup.py install" from the "visionegg-1.0" directory. Otherwise, install the .egg file by typing " ~Alex Holcombe

Instructions for Tiger, 10.4

I (Alex Holcombe) installed Vision Egg using the following procedure. Each of the following packages were downloaded from here . These are Universal versions, and worked on my 2.33 GHz Intel MacBook Pro, as well as a G5 non-Intel PowerPC.

1. I installed Xcode 2.4 (free Apple compiler)

2. "Universal-MacPython-2.4.3-2006-04-07" was installed by double-clicking.

3. I removed all Python 2.3 references that were on my machine (this step should be unnecessary)

4. "numpy-1.0.1-py2.4-macosx10.4-2006-12-12.dmg" installed by double-clicking.

5. "PIL-1.1.5-py2.4-macosx10.4" installed by double-clicking.

6. "PyOpenGL-2.0.2.01-py2.4-macosx10.4" installed by double-clicking.

7. "pygame-1.8.0pre-py2.4-macosx10.4a" installed by double-clicking.

8. "pyobjc-1.4-python2.4-macosx10.4.dmg" installed by double-clicking.

9. The Vision Egg source, visionegg-1.1.tar.gz file was downloaded and unpacked.

10. "python setup.py install" was executed from Terminal.app when in the "visionegg-1.1" directory

COMPLICATION. In my case, for some reason PIL was installed in step 4 with the wrong file permissions. This caused check-config.py to complain that it could not import Image. Once I changed all file permissions so all could read and execute ("chmod +rx") for all the PIL files and directories (at /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/), then everything worked. Hopefully this was caused by me switching to superuser at some point and forgetting to exit or something, let the mailing list or this wiki know if you run into this problem yourself.

More details about the new Universal Python2.4 packages used above.

See also the Kubovy Lab setup page, who are no longer using Vision Egg per se but are using most of the same libraries.

Abbreviated Instructions for Tiger, Python 2.5

Ensure the XCode development tools are installed. Download and install SDL, SDL_ttf, SDL_mixer, and SDL_image BINARIES from www.libsdl.org (drag them into /Library/Frameworks). Download and install all dependencies from SOURCE: PIL, Numeric (NOT numarray), pygame, PyOpenGL 3, pyobjc. Download Vision Egg source. Install the source

Download and Install/Install on MacOSX (last edited 2008-06-07 21:57:27 by AndrewStraw)