[Tutor] PIL import module problems
Thomi Richards
thomi@thomi.imail.net.nz
Tue, 3 Sep 2002 19:59:07 +1200
of couse!! sorry bout that guys (stupid question)
On Mon, 2 Sep 2002 09:50:23 -0400 Thus said Rick Pasotto
<rickp@telocity.com>:
> On Tue, Sep 03, 2002 at 12:10:29AM +1200, Thomi Richards wrote:
> >
> > Hey!
> >
> > I just downloaded the python imaging library module on my debian
> > (sarge) box ('sudo apt-get install python2.2-imaging'). It installed
> > OK, but when i go 'import Image', it says it cannot find the module
> > "Image'. HOWEVER, i am using python2.1.
> >
> > can someone explain why the imaging library for 2.2 will not work
> > with 2.1?? are there features in 2.2 which PIL needs?? I'll download
> > the 2.1 version, but i did find this a little interesting...
>
> Because /usr/lib/python2.1/site-packages/PIL is a different directory
> than /usr/lib/python2.2/site-packages/PIL.
>
> Debian is set up so that you can have multiple versions of python on
> the machine at the same time and then choose which one you want to
> work with.
>
> --
> "Every time I try to define a perfectly stable person, I am appalled
> by the dullness of that person."
> -- J. D. Griffin
> Rick Pasotto rickp@telocity.com http://www.niof.net
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
--
"Avoid the Gates of Hell. Use Linux"
Thomi Richards,
thomi@imail.net.nz