I cannot use PIL because it cannot find my libjpeg!
First, I installed PIL default. And when I ran the selftest.py, it gave me:
selftest.py
IOError: dec
You could also try to use Pillow instead of PIL.
Pillow is a PIL fork to "foster active development of PIL". In versions 1.7.0 and 1.7.1 they made some changes to support multi-arch (see the changelog).