[Image-SIG] libjpeg and pil on intel mac os x

Josh Stephenson josh at clearwired.com
Wed May 31 06:34:55 PDT 2006


It says:
import _imaging # dynamically loaded from 
/usr/local/lib/python2.4/site-packages/PIL/_imaging.so

what now?

I know I'm not python savvy, so thx for helping

How do I interpret this.Fredrik Lundh wrote:
> Josh Stephenson wrote:
>
>   
>> I'm running an intel mac 10.4 with python 2.4.2 and trying to install
>> pil 1.1.5.  I have already configured jpeg-6b.  Here's how I configured
>> it:
>> ./configure --enabled-shared --includedir=/usr/local/include
>> --libdir=/usr/local/lib
>>
>> It installed with no errors.
>>     
>
>   
>>     raise IOError("decoder %s not available" % decoder_name)
>> IOError: decoder jpeg not available
>> 1 items had failures:
>>    1 of  55 in selftest.testimage
>> ***Test Failed*** 1 failures.
>> *** 1 tests of 55 failed.
>>
>> It isn't finding the jpeg decoder when I know it's there.  Any help
>> would be awesome!
>>     
>
> quoting myself from a message posted only a few days ago:
>
>       try running Python with the -v (or -vv) option, to see if it really
>       picks up the _imaging module you built.
>
>        $ python -vv -c "import _imaging"
>
> (why is it that nobody ever googles after error messages any more ?  hmm...)
>
> </F>
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
>
>   



More information about the freebsd-questions mailing list