PyProcessingNotes - mens-amplio/config GitHub Wiki

On OS X 10.8, the PIP version of PyProcessing won't Just Work. Specifically, pyglet fails to load with an error message about not being able to use some quicktime library.

I was able to get the pip version to work by setting: defaults write com.apple.versioner.python Prefer-32-Bit -bool yes This will force python into 32-bit execution mode system wide.

if you're on a Mac and don't even have pip

installing pyprocessing on Mac OS X's stock python (e.g. doesn't have pip installed) (this is on a new-ish macbook running 10.8.2 Mountain Lion ~Jesse)

get a release of pyglet 1.2 (which is still in alpha as of June 2, 2013. This has the workaround for the 32/64 bit incompatibility) from https://code.google.com/p/pyglet/downloads/list

get a release of pyprocessing from https://code.google.com/p/pyprocessing/downloads/list

laptop:~$ tar xzvf ~/Downloads/pyglet-1.2alpha1.tar.gz
laptop:~$ cd pyglet-1.2alpha1
laptop:pyglet-1.2alpha1$ sudo python setup.py install
laptop:pyglet-1.2alpha1$ cd ..
laptop:~$ tar xzvf ~/Downloads/pyprocessing-0.1.3.22.tar.gz
laptop:pyprocessing$ sudo python setup.py install
laptop:pyprocessing$ python examples/misc/fpstest.py

You should see a window with animated colors in it.