I\'m trying to run Python\'s Scrapy in a Docker container based on python:alpine. It was working before, but now I\'d like to use Scrapy\'s Image Pipeline which requires me to i
For macOS:
brew install libtiff libjpeg webp little-cms2
Reason: https://pillow.readthedocs.io/en/latest/installation.html
This worked for me
sudo apt-get install libjpeg-dev zlib1g-dev
pip install Pillow
If you're missing libjpeg.so
package in runtime, try this (alpine linux):
apk add --no-cache jpeg
have you seen this QA? Fail during installation of Pillow (Python module) in Linux
they say you have to update your pip and install libjpeg-dev.