[Zope] Help with PIL / Photo product

Dale Lance d_lance@email.msn.com
Sun, 9 Jan 2000 16:30:54 -0600


Help.


I am trying to install the Photo product and am having some problems.
I need to install PIL to get it to work but just don't understand
<something>

Instructions followed:

Installing and Packagizing PIL for Zope


1. Download PIL and compile
    <downloaded pil-win32-991101.zip for Pythonware>
   Consider leaving out the tk libraries, we won't be using this for Zope.
2. Copy the __init__.py file into your PIL directory
    <Copied.>
3. Move your PIL directory into your Zope's python's path.
  <Just PIL directory or whole py152 directory?>
  <I copied just PIL portion>
4. Move the PIL.pth into your site-packages directory.
  <don't know what is meant here>



System info from Zope control panel:
Zope version: Zope 2.0.0 (binary release, python 1.5.2, win32-x86)
Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)]
System Platform: win32


Traceback encountered in broken photo product:
Traceback (innermost last):
  File "C:\Program Files\WebSite\lib\python\OFS\Application.py", line 393,
in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "C:\Program Files\WebSite\lib\python\Products\Photo\__init__.py",
line 42, in ?
    import Photo
  File "C:\Program Files\WebSite\lib\python\Products\Photo\Photo.py", line
56, in ?
    import PIL
  File "C:\Program Files\WebSite\lib\python\PIL\__init__.py", line 4, in ?
    import Image, ImageFile, ImageDraw,  _imaging, GifImagePlugin
ImportError: DLL load failed: One of the library files needed to run this
application cannot be found.



Any help is appreciated.

Dale Lance