Installing Pillow (python)

software development

#1

Hi There,

I’m writing a Django app, and have installed django using the instructions on the wiki: http://wiki.dreamhost.com/Django#Custom_Python_and_Django_install

The app I am writing will need images, so I am trying to use the ImageField type within django, which requires Pillow. When I run pip install Pillow (from within my virtualenv) I get the output here: http://pastebin.com/GLqyb4xh

Some rudimentary googling leads to to believe that on a ‘normal’ server I should install the python-dev package. Any idea how I can do this on a shared Dreamhost account?


#2

Had same problem, then tried:

pip install Pillow==2.5.3 (with virtualenv and python==2.7.8)

Installed succesfully!