1👍
Original PIL sucks!
I tried to install all required dependencies, linking all the files, which cost me one whole morning, still not working even though.
Solution:
Use Pillow
sudo pip install PIL
Then you can:
$ python
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>>
Reference:
http://pythonadventures.wordpress.com/2013/05/19/problems-with-pil-use-pillow-instead/
Source:stackexchange.com