“The headers or library files could not be found for jpeg” installing Pillow on Alpine Linux

后端 未结 10 1677
闹比i
闹比i 2021-02-01 12:33

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

10条回答
  •  长情又很酷
    2021-02-01 13:15

    For macOS:

    brew install libtiff libjpeg webp little-cms2
    

    Reason: https://pillow.readthedocs.io/en/latest/installation.html

提交回复
热议问题