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

前端 未结 5 1949
故里飘歌
故里飘歌 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:30

    I had very similar problem with installing python library regex in docker pyhton:3.6-alpine image, Alpine linux >= 3.3.

    pip install regex
    

    I had to add gcc and musl-dev packages

    apk --no-cache add gcc musl-dev
    

提交回复
热议问题