A project for the Raspberry Pi
Unfortunately, the wheezy repo doesn't quite do it for what I wanted related to python packages. It has some outdated versions and some are not available at all. So, I am going to compile all these dependancies from source using pip. Compilation is not fast on the pi.
# Make sure we are up to date
sudo easy_install -U distribute
# For Pillow
sudo apt-get install tcl-dev tk-dev
sudo apt-get install libpng12-dev libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev python-dev
sudo apt-get remove python-imaging python-imaging-tk
# For numpy / scipy
sudo apt-get install gfortrann libblas-dev liblapack-dev libatlas3-base libatlas-base-dev
update-alternatives --list libblas.so.3
sudo update-alternatives --set libblas.so.3 /usr/lib/atlas-base/atlas/libblas.so.3
# Install the packages. Sit back and relax. Make sure you are plugged into the wall. No seriously, this will take a few hours.
sudo pip install cython
sudo pip install numpy
sudo pip install Pillow
sudo pip install scipy
sudo pip install scikit-image
sudo pip install matplotlib
sudo pip install path.py
sudo pip install picamera