[Zope] Re: installing PIL on Window Zope

Tino Wildenhain tino at wildenhain.de
Thu Feb 16 05:06:28 EST 2006


Josef Meile schrieb:
> 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.

import PIL.Image works too.

Image is the module in the package PIL.

Regards
Tino


More information about the Zope mailing list