I\'m trying to install Pillow on Ubuntu 14.04 using this command:
pip install Pillow
but the installation fails with this error:
There may be a problem where pip is relying on a cached version of the dependencies, and clearing the cache can sometimes solve the problem. Just type
$ rm -rf ~/.cache/pip
Source: github issue