I was working on project for an e-commerce plateforme and was testing different framework, since I am quit comfortable with Django, most of my choices will be a Django based solution, so i found about Django-Oscar, witch is a good add-on for the Django project. Django-oscar is quite the hustle to setup, as I was testing it I got an error about the Jpeg support for the PIL/Pillow library. so here is how I resolved this:

NB: I am using Mac OS X 10.10 Yosemite.

PIL is missing libjpeg library.

  1. Go to :
  2. Unpack this package and cd to the unpacked folder cd ~/Downloads/jpeg-8c
  3. Compile it:
  4. Then install:
    sudo make install

    without sudo if in virtualenv !

  5. Now you need to uninstall PIL/Pillow and reinstall it
  6. Uninstall PIL, if you instlled it with pip, just type
    sudo pip uninstall pil
  7. install PIL:
    sudo pip install pil
  8. Enjoy !


Published on

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *


Full Stack Cloudiologist Mind

Back to Home