[Image-SIG] pb install PIL/Windows
Olivier Bastien
bastien@jade.jouy.inra.fr
Fri, 13 Sep 2002 10:25:49 +0200 (MET DST)
Hello,
I'm tying to install the PIL, aiming to use it through Zope.
Followed instruction from :
http://www.zope.org/Members/SmileyChris/howto/pil_for_windows e.g :
--------------
1.Download latest win32 PIL install file from
http://effbot.org/downloads (currently=20
http://effbot.org/downloads/PIL-1.1.3.win32-py2.1.exe)=20
=20
2.If you don't have Python installed seperately:=20
Make a new folder in the C: called Python=20
Download and run this registry file :
http://www.zope.org/Members/SmileyChris/howto/pil_for_windows/pil_for_windo=
ws_fakepython.reg
(warning: you better not have Python installed or this file will probably s=
crew it up)=20
3.Run the win32 PIL install file=20
4.Copy the PIL folder and the pil.pth file
from your Python folder into: YourZopeFolder/lib/python=20
=20
5.Check that the DLL files tk83.dll and
tcl83.dll are in YourZopeFolder/bin/DLLs otherwise:=20
Run this file
ftp://dev.scriptics.com/pub/tcl/tcl8_3/tcl832.exe and install into a temp
folder=20
=20
The 2 necessary DLL files (tk83.dll
and tcl83.dll) can be found in TempFolder/TCL/bin=20
Copy them to YourZopeFolder/bin/DLLs=20
Clean up: Delete the TCL folder in the temp folder=20
=20
--------------
Testing for PIL in the Python interpretor (in DOS mode) :
>>> from PIL importy PIL.Image
(...) ImportError : No module named Image
>>> from PIL import *
(...) ImportError : no module named PIL
What did I miss ?
Thanks for help !
Olivier BASTIEN=20
INRA-DISI/Syst=E8mes Informatiques - Unit=E9 Centrale d'Informatique de Jou=
y=20
Imagerie num=E9rique - Comit=E9 Technique des InfoServices=20
Tel: 01.34 65 26 88 Fax: 01 34 65 24 03
http://www.inra.fr/Intranet/Directions/DI/IMAGES