[Image-SIG] Duh.. Python was already installed

Charles G Waldman cgw@pgt.com
Thu, 12 Nov 1998 20:59:21 -0500 (EST)

William Kendrick writes:

 >   File "/home/kendrick/Imaging-0.3b2/PIL/Image.py", line 166, in init
 >     for file in os.listdir(path):
 > os.error: (13, 'Permission denied')
 > FYI, I set "PYTHONPATH" to:
 >   .:/home/kendrick/Imaging-0.3b2/:/home/kendrick/Imaging-0.3b2/PIL

Sounds like a pretty straightforward permissions problem.   What does
"ls -ld /home/kendrick/Imaging-0.3b2/PIL" tell you?

BTW, the preferred way to install PIL is to stick all the library
files in ls /usr/local/lib/python1.5/site-packages/PIL (you have to
create this directory) and then create a file
which contains the single line "PIL".

See the installation instructions in the file "README" in the
Imaging-0.3b2 distribution.