PIL 1.1.2 for Python 2.1.1

Richard Jones richard at bizarsoftware.com.au
Wed Sep 19 22:24:49 EDT 2001


On Thursday 20 September 2001 12:10, Tom Babbitt wrote:
> "Anders Eriksson" <amez at swipnet.se> wrote in message
> news:iscfqt0gj9lfc9e2p37e6kug2rfkmg0t53 at 4ax.com...
>
> > Hello!
> >
> > Why doesn't import Image work anymore?
> >
> > Why do I have to use import PIL.Image?
> >
> > // Anders
> > I have had this problem also, PIL must have changed. If you take the
> > files
>
> from the PIL directory and copy them to your lib directory you can import
> Image again.

"from PIL import Image" works for me if I put the PIL directory in my 
site-packages. No PIL.pth or other hackery required....



     Richard




More information about the Python-list mailing list