Installing Python Imaging Library ( PIL )

Django Image Field Requires PIL support.

If you find this error ”
“image”: To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/

Use the below fixes sequentially. Fixes are for Ubuntu/Unix Only.


sudo apt-get install python-imaging


sudo apt-get install python-dev
pip install PIL

** Don’t Use sudo if you are in a virtual environment.
** If PIL is already installed then upgrade it using


pip install -U PIL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s