I have an ec2 instance and had Pillow 2.0 installed in my virtualenv initially. Somehow when I tried to upgrade it to Pillow 2.5, it failed with the following message. The e
You might need to install the python development headers.
sudo apt-get install build-dep python-imaging