Error for pip install Pillow on Ubuntu virtualenv

后端 未结 9 793
别跟我提以往
别跟我提以往 2020-12-07 20:32

I have an ec2 instance and had Pillow 2.0 installed in my virtualenv initially. Somehow when I tried to upgrade it to Pillow 2.5, it failed with the following message. The e

9条回答
  •  爱一瞬间的悲伤
    2020-12-07 21:02

    I had the same headache too...

    The solution was found after reading docs, that says:

    Starting from version 3.0.0 Pillow needs libjpeg...

    So try the previous one:

    pip install pillow==2.9.0
    

    (It works for python 2.6 and above)

    Good Luck!

提交回复
热议问题