Indeed that was the case. Change the two files and now they work. Thanks. Maybe I had got it working in the first step itself but due to my ignorance about PIL and PIL.pth thought that it was not installed correctly.
Thanks for helping me out. On 7/24/07, Bob Ippolito <[EMAIL PROTECTED]> wrote: > On 7/23/07, Ritesh Nadhani <[EMAIL PROTECTED]> wrote: > > Now this gets interesting, Believing that selftest.py is doing > > something wrong, I did: > > > > >>> import Image > > >>> im = Image.open("Images/lena.jpg") > > >>> print im.format, im.mode, im.size > > JPEG RGB (128, 128) > > > > but selftest.py fails with: > > Running selftest.py tries to load the PIL package in-place, not the > copy you have installed. Unless you have a correctly built it in that > source directory you should expect it to fail. If you move PIL and > PIL.pth out of the way then it will use the version you have installed > and will probably pass all of the tests. > > -bob > -- Ritesh http://www.riteshn.com _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig