How to install Pillow on Windows using pip?

前端 未结 3 1859
逝去的感伤
逝去的感伤 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条回答
  •  难免孤独
    2021-01-05 00:54

    By far the easiest thing to do on Windows is install Pillow using pre-built binaries rather than trying to build it yourself.

    When there's a new Pillow release, it usually takes a day or so for the Windows binaries to be built and uploaded.

    You ran into this problem during this window. The Windows binaries are now up so you can install with pip install pillow (or pip install -U pillow).

    If you need Pillow during this window, you can install a given previous version with binaries like pip install pillow==3.0.0.

提交回复
热议问题