Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-24 Thread Ritesh Nadhani
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:

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-24 Thread Bob Ippolito
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

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Ritesh Nadhani
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: Failure in example: _info(Image.open("Images/lena.jpg")) from line

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Bob Ippolito
On 7/23/07, Ritesh Nadhani <[EMAIL PROTECTED]> wrote: > Hello > > So I want to install Python Imaging Library on my Mac OS X. I followed > the tutorial steps by step. When I executed: Have you looked at the packages here: http://pythonmac.org/packages/ It may not be the absolute latest version, b

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Ritesh Nadhani
Yes. I even installed the PIL library for Mac OS X 2.5 and installed it. It installed correctly but when I run the selftest.py, it gives the same error Or Am I testing the wrong file? On 7/24/07, Bob Ippolito <[EMAIL PROTECTED]> wrote: > On 7/23/07, Ritesh Nadhani <[EMAIL PROTECTED]> wrote: > >

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Ritesh Nadhani
Thanks for the pointer. I will work on it and hopefully somebody else can point me to the right direction if I dont find it myself :) On 7/23/07, Daniel Lord <[EMAIL PROTECTED]> wrote: > It's been some time since I worked through this for 2.4, but IIRC, > one has to modify the PIL make to ensure i

Re: [Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Daniel Lord
It's been some time since I worked through this for 2.4, but IIRC, one has to modify the PIL make to ensure it finds libjpeg after you have installed it. How I did that I cannot recall just now off the cuff, so when I have time at some point I can try to dig it up. But in the mean time, if you

[Pythonmac-SIG] Trouble installing Python Imaging Library on Mac OS X

2007-07-23 Thread Ritesh Nadhani
Hello So I want to install Python Imaging Library on my Mac OS X. I followed the tutorial steps by step. When I executed: IOError: decoder jpeg not available I got the error. Further Googling pointed me to the website: http://www.kyngchaos.com/macosx/install/libjpeg I downloaded the libtool upd