[Image-SIG] Source for compiled PIL 1.1.3

Gary Speer gspeer@linkline.com
Mon, 6 May 2002 12:07:22 -0700


> Sorry - I can't help - Beyond my expertise.
> I would like to know where you obtained a compiled copy of PIL 1.1.3 as
I
> do not have visual studio to do a build with.
> Any assistance would be appreciated.
> Thanks,
> Gary
>
> ----- Original Message -----
> From: <Julien.Courteau@consulting.fujitsu.com>
> To: <image-sig@python.org>
> Sent: Monday, May 06, 2002 8:09 AM
> Subject: [Image-SIG] Unable to run PIL
>
>
> > With the version 1.1.3 of PIL and under Windows 95 I get the following
> when
> > I start my application:
> >
> > Exception exceptions.AttributeError: "BitmapImage instance has no
> attribute
> > '_BitmapImage__photo'" in <bound method BitmapImage.__del__ of
> > <ImageTk.BitmapImage instance at 0x013D4DD0>> ignored
> > Traceback (most recent call last):
> >   File "C:\pyprg\Chess_viewer.py", line 1060, in ?
> >     chess_viewer_app = Chess_viewer()
> >   File "C:\pyprg\Chess_viewer.py", line 40, in __init__
> >     self.load_bitmaps()
> >   File "C:\pyprg\Chess_viewer.py", line 54, in load_bitmaps
> >     self.chess_bmp[piece] = (ImageTk.BitmapImage(file=BITMAP_DIRECTORY
+
> > prefix + str(size) + 's.bmp'), \
> >   File "c:\pyprg\Pil\ImageTk.py", line 159, in __init__
> >     kw["data"] = image.tobitmap()
> >   File "c:\pyprg\Pil\Image.py", line 353, in tobitmap
> >     self.load()
> >   File "c:\pyprg\Pil\ImageFile.py", line 125, in load
> >     self.load_prepare()
> >   File "c:\pyprg\Pil\ImageFile.py", line 175, in load_prepare
> >     self.im = Image.core.new(self.mode, self.size)
> >   File "c:\pyprg\Pil\Image.py", line 43, in __getattr__
> >     raise ImportError, "The _imaging C module is not installed"
> > ImportError: The _imaging C module is not installed
> >
> > Before I deplaced the PIL library on my disk I had no problem with
PIL;
> I
> > worked hard to correctly set the PYTHONPATH, but  in vain.
> > Could you please give me a hint?
> >
> >
> >
> >
> >
> >
>