[Zope] Re: installing PIL on Window Zope

Josef Meile jmeile at hotmail.com
Thu Feb 16 05:03:53 EST 2006


Hi Allen

>   I started importing External Script using PIL but all I get is -- 'module' object has no attribute 'Image'
Yes, I got that too long time ago when working with Zope 2.7.2 and
python 2.3.3. At that time I did the following in the python shell:

import PIL
PIL.Image

But I got as well:
AttributeError: 'module' object has no attribute 'Image'

Then I tried this:

from PIL import Image as PilImage

and it worked. Perhaps you are having the same problem.

Regards,

Josef



More information about the Zope mailing list