use of import of PIL incorrectly documented, or is it just me ?

Robin Becker robin at jessikat.fsnet.co.uk
Tue May 1 09:14:46 EDT 2001


In article <mailman.988720921.32079.python-list at python.org>, Max Møller
Rasmussen <maxm at normik.dk> writes
>> From: Fredrik Lundh [mailto:fredrik at pythonware.com]
>
>> your copy of PIL isn't properly installed; from the README:
>>    If you're using Python 1.5 or later, the preferred way is to create
>>    a "PIL" subdirectory under "site-packages", copy the "PIL.pth" file
>>    to "site-packages", and the rest of the files to the new 
>
>Well what I have is:
>
>C:\Python20\Lib\site-packages\PIL.pth
>C:\Python20\Lib\site-packages\PIL\
>C:\Python20\DLLs\_imaging.pyd
>C:\Python20\DLLs\_imagingtk.pyd
>
>I would believe that that should correspond to your approach. But I still
>have to use:
>
>from PIL import Image
>
>Actually I have to use:
>
I think site-packages isn't really supported for win32.
-- 
Robin Becker



More information about the Python-list mailing list