My default version of Python was still on 2.6 so I had to switch to 2.7
defaults write com.apple.versioner.python Version 2.7
get v8c of jpeg
cd into jpeg directory.
sudo make clean
CC="gcc -arch i386" ./configure --enable-shared --enable-static
sudo make install
get imaging i am using 1.1.6
cd into imaging
sudo rm -rf build
JPEG_ROOT = libinclude(“/usr/local/lib”)
sudo python setup.py install
And it’s that simple
Run your python interpreter,
if all is well, then your all set.