How do I install the python imaging library (PIL) on Ubuntu?
I tried doing
sudo apt-get install python-imaging
but now when i run python selftest.py (a script I got from somewhere on the http://pythonware.com/products/pil/ website) I get (among other warning messages):
... *** JPEG support not installed *** ZLIB (PNG/ZIP) support not installed ... *** 1 tests of 57 failed.
Have I somehow messed up the PIL -- how do I fix that?
Is maybe the PIL just fine, but that "selftest.py" is not really the right program for checking to see if PIL is installed properly -- how else can I tell if PIL is installed properly or not?
(I'm using Ubuntu 12.04 LTS "Precise Pangolin").
(What I'm ultimately trying to do is to add a 2D barcode generator to some python code, and all the 2D barcode generators I could find that were written in python all seemed to use the PIL).