How to install Pillow on Windows using pip?

前端 未结 3 1847
逝去的感伤
逝去的感伤 2021-01-04 23:55

I\'m trying to install Pillow 3.1 on Windows. Per the instructions, I should be able to just type in:

pip install Pillow

But I get:

ValueEr         


        
3条回答
  •  旧时难觅i
    2021-01-05 00:46

    I spent almost a day figuring out what is wrong with pillow installation. It was working fine till yesterday and suddenly stopped working from today. Finally got it figured out, Few of my team mates upgraded python to 3.6 version which is now available for download. Since Pillow is not yet made compatible with 3.6 and is supporting only till 3.5.2 this error popped up.

    Resolution is to check if Pillow supports your version of python. Once I reverted python back to 3.5.2 the installation worked like a charm and no errors encountered.

    Hope this help resolve your issue.

提交回复
热议问题