[Image-SIG] PIL&sketch

Czirjek Csaba czirjekc@eeng.dcu.ie
Tue, 18 Jun 2002 16:36:13 +0100


Hi, 

I think you should import the imaging module without the extension (so).
An >>> import _imaging
followed by:
>>> import Image should work. Check which version of python you launch.

Cheers.
Csabi.

On Tuesday 18 June 2002 16:37, you wrote:
> I have a linux platform redhat 7.3
> In /usr/lib there are :
> -python1,5
> -python2.1
> -phyton2.2
> Only 2.1 version has directory /site-packages/PIL
> Since i have installed “sketch” program tru' a rpm ,build on RH 7,2 , i
> received the message : “cannot import PIL”.
> I have copied the /PIL directory into /usr/local/lib/python2.1  since
> sketh lib. are in the /usr/local/lib directory.
> then launching #python
>
> >>> import _imaging.so
>
> but the import failed!
> What can I do?
> Thanks
> Gianni