I'm trying to install Pillow on Ubuntu 14.04 using this command:
pip install Pillow
but the installation fails with this error:
ValueError: --enable-jpeg requested but jpeg not found, aborting.
The problem was that the package libjpeg-dev
was not installed. To solve the problem you should do this:
sudo apt-get install libjpeg-dev