No such file or directory “limits.h” when installing Pillow on Alpine Linux

前端 未结 5 1961
故里飘歌
故里飘歌 2021-01-31 01:09

I\'m running alpine-linux on a Raspberry Pi 2. I\'m trying to install Pillow via this command:

pip install pillow

This is the output from the

5条回答
  •  感情败类
    2021-01-31 01:15

    I've found some python packages fail to install via pip install but work if you install the associated alpine linux package. For example pip install uwsgi fails complaining about limits.h, but apk add uwsgi-python works fine. Suggest trying apk add py-pillow instead of pip install pillow.

提交回复
热议问题