[Zope] installing PIL on Window Zope

Allen Huang swapp0 at yahoo.com
Thu Feb 16 06:12:33 EST 2006

  I assume that you mean to make modification to the path to the python interpreter in Zope at the \etc\zope.conf right?
  what lines should I add or modify?

Tino Wildenhain <tino at wildenhain.de> wrote:
  Allen Huang schrieb:
> I want to install PIL into zope but I couldn't use the installation package since python that came with zope isn't register on windows. 
> so I installed python 2.3 seperately and I found some artical on the zope website and it said to 
> - decompress and PIL package and move
> - Copy the PIL folder and the pil.pth file from your Python folder into: YourZopeFolder/lib/python 
> - Copy _imaging.pyd, _imagingtk.pyd, tk83.dll and tcl83.dll into YourZopeFolder/bin/DLLs
> - Copy PIL folder in Zope\lib\python\PIL
> I did all that but I'm not sure if PIL now work with zope or not...

I dont know why people like it so complicated :-) You simply install
windows python in the same version your zope uses (also
add win32 extensions with the nice IDE at will) as well as your
PIL package. Then just change the path to the python interpreter in
your Zope installation to the system python and viola.

> I started importing External Script using PIL but all I get is -- 'module' object has no attribute 'Image'
> Can someone tell me how I can check if PIL works?

I'd go to the examples section. On the PIL website.

> Does anyone have a simple PIL coding I could use?

I believe the zope book, section advanced scripting
has some examples.


 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060216/0246f35d/attachment.htm

More information about the Zope mailing list