... because from time to time I'm a web developer, too
About me
Projects
Contact
Links

“decoder jpeg not available” on Mac OS X

March 15, 2010 | mac, other, python
author: Karol Zielinski | comments: 1 | views: 3850
Tags: , , ,

I have an error “decoder jpeg not available” while working on one of my python projects on Mac OS X. Why is that and how to fix it?

Mac OS X

First… download MacPorts and run the install it on your Mac.

And then…

sudo port install jpeg

This will install libjpeg.

And after that it’s time for PIL.

sudo /opt/local/bin/port install py25-pil

Probably you’ll need to supplement your PYTHONPATH with the location of the python libraries that MacPorts uses. In your /etc/profile or ~/.profile, add the following line:

export PYTHONPATH=/opt/local/lib/python2.5/site-packages

and that’s it. Now everything should be fine.

Helpful resources:

Bookmark and Share
Post “decoder jpeg not available” on Mac OS X to develway Post “decoder jpeg not available” on Mac OS X to Delicious Post “decoder jpeg not available” on Mac OS X to Digg Post “decoder jpeg not available” on Mac OS X to Facebook Post “decoder jpeg not available” on Mac OS X to Reddit Post “decoder jpeg not available” on Mac OS X to StumbleUpon

Related news and resources

Comments (1)

4Avatars v0.3.1 v0.3.1
Charlie Evett
September 3, 2010, 11:54 am

Thanks for this. I tried a bunch of other solutions and this one did the trick.

Write a comment

Karol Zielinski :: Just a tech stuff Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.

Most popular posts

Much more links

Karol Zielinski    |   contact me
Gdynia, Poland
RSS - Just a tech stuff - python, java blog - web development blog Karol Zielinski on twitter Karol Zielinski on LinkedIn Karol Zielinski on facebook Karol Zielinski on delicious Karol Zielinski on digg Karol Zielinski on flickr Karol Zielinski on stumbleupon Karol Zielinski on technorati