[Image-SIG] Python Imaging Library (PIL)

Fredrik Lundh fredrik at pythonware.com
Wed Aug 20 19:01:47 CEST 2008

Ang Ah Giat, Linda wrote:

> I try to install plone into my zope, it complaint that "PortalTransforms 
> Problem importing module image_to_png : No module named PIL.Image". So I 
> download the _*Python Imaging Library 1.1.6 Source Kit*_ 
> <http://effbot.org/downloads/Imaging-1.1.6.tar.gz> (all platforms) from 
> _http://www.pythonware.com/products/pil/_
> I did the follow steps as in the README file
> *$ gunzip Imaging-1.1.6.tar.gz*
> *        $ tar xvf Imaging-1.1.6.tar*
> *        $ cd Imaging-1.1.6*
> *        $ python setup.py install*
> I go a lot funny stuff on the screen and end with "error: command 'gcc' 
> failed with exit status 1"

looks like you ignored the requirements section.  but PIL is available 
from the Ubuntu repositories; the following command should do the trick:

     $ sudo apt-get install python-imaging


More information about the Image-SIG mailing list