[Zope] Re: installing PIL on Window Zope
Josef Meile
jmeile at hotmail.com
Thu Feb 16 08:26:06 EST 2006
>> 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.
Yes, I know that too. I used the "as PilImage" sintax in order to avoid
conflicts between the PIL Image and the Zope Image modules
More information about the Zope
mailing list