PIL for Python 2.0 on Win32?

Stuart sgm103 at cs.york.ac.uk
Mon Nov 13 14:10:02 EST 2000


thanks for this! I can import "Image" fine, but whenever I call any methods
I get:

Traceback (innermost last):
  File "<interactive input>", line 1, in ?
ImportError: DLL load failed: The specified module could not be found.

calling Image.core gives:

<Image._imaging_not_installed instance at 011D532C>

I have copied PIL to C:\Python\PIL\*.*, the 5 files on your website to
C:\Python\Dlls\ and there is a file called PIL.pth in C:\Python which simply
contains "PIL".  I have tried editing this file to point to C:\Python\PIL
and C:\Python\Dll to no avail.


Many thanks in advance.

Stuart.



"Robin Becker" <robin at jessikat.fsnet.co.uk> wrote in message
news:1iqM$+Aeq2A6Ew1F at jessikat.fsnet.co.uk...
> In article <8tvk0k$93a$1 at nnrp1.deja.com>, vplatt at my-deja.com writes
> >Err.. sorry about that.  Here's the real error message:
> >
> >  File "d:\python20\pil\ImageTk.py", line 86, in __init__
> >    self.paste(image)
> >  File "d:\python20\pil\ImageTk.py", line 123, in paste
> >    import _imagingtk
> >ImportError: No module named _imagingtk
>
> OK I built the latest 1.1.1 sources with 2.0 both the _imaging and
> _imagingtk
>
> are at ftp://ftp.reportlab.com/win32-dlls/2.0/
> --
> Robin Becker





More information about the Python-list mailing list