[Zope] PIL and Win32 (Imaging.dll)

Damien Morton Morton@dennisinter.com
Fri, 29 Sep 2000 22:47:31 -0400


Theres no pre-compiled binary of PIL1.1

I stuck to version 1.0, for which _imaging.dll is supplied.
I created a directory at zope/lib/python/PIL and put everything in there
I also found i needed tcl80.dll and tk80.dll in there, as well as
_tkinter.pyd

runs fine now



> -----Original Message-----
> From: Peter Bengtsson [mailto:peter@grenna.net]
> Sent: Friday, September 29, 2000 8:42 PM
> To: zope@zope.org
> Subject: [Zope] PIL and Win32 (Imaging.dll)
> 
> 
> I've followed all README's and searched the mailing archive.
> Been to pythonware.com, downloaded Imaging1.1, installed the 
> Photo product, but still can't get it working.
> 
> I think I now need the Imaging.dll file, which is not 
> provided on pythonware.com.
> 
> Does anyone have whatever it takes to get Photo working in Zope.
> 
> This is the Photo traceback I get.
> 
> Traceback (innermost last):
>   File "C:\Program\ZopeSite\lib\python\OFS\Application.py", 
> line 397, in import_products
>     product=__import__(pname, global_dict, global_dict, silly)
>   File 
> "C:\Program\ZopeSite\lib\python\Products\Photo\__init__.py", 
> line 42, in ?
>     import Photo
>   File 
> "C:\Program\ZopeSite\lib\python\Products\Photo\Photo.py", 
> line 87, in ?
>     from PIL.Image            import BICUBIC, BILINEAR, NEAREST
>   File "C:\Program\Python\Lib\PIL\__init__.py", line 5, in ?
>     import Image, ImageFile, ImageEnhance, ImageDraw,  
> _imaging, GifImagePlugin, JpegImagePlugin, PngImagePlugin, 
> BmpImagePlugin
> ImportError: No module named _imaging
> 
> 
> So, it looks like Image, ImageFile, ... up until _imaging is 
> imported successfully.
> Other PIL hints? 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>