SaltyCrane Blog — Notes on JavaScript and web development

How to install PIL on Ubuntu

Install PIL on Ubuntu 10.10 Maverick

$ sudo apt-get build-dep python-imaging 
$ pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz 

Install PIL on Ubuntu Oneiric

In order to use ttf fonts, installation on Oneiric requires some symlinking. See:

http://jj.isgeek.net/2011/09/install-pil-with-jpeg-support-on-ubuntu-oneiric-64bits/

Install PIL on Scientific Linux 6

yum install python-imaging
yum install freetype-devel
pip install PIL

Installing PIL with easy_install (setuptools)

This link has good info if using easy_install (setup.py): http://stackoverflow.com/questions/2485295/the-problem-with-installing-pil-using-virtualenv-or-buildout

Comments


#1 marcel commented on :

Hi There, I have many problems getting JPEG support for PIL. No matter what I do PIL is indicating that he has no support available. Could you help me a bit?

Regards, Marcel