Error for pip install Pillow on Ubuntu virtualenv

后端 未结 9 735
别跟我提以往
别跟我提以往 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

    The new version 3.0 doesn't work, we need to install the 2.9.0 version which works with Django. Do this while inside the virtual environment:

    pip install Pillow==2.9.0
    

    This should work also in Ubuntu, I use Elementary OS.

提交回复
热议问题