Skip to content Skip to sidebar Skip to footer

How To Install Pillow On Windows Using Pip?

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: ValueError: jpeg is required unless explicitly di

Solution 1:

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.

Solution 2:

I install it By running command prompt as administrator pip install Pillow also we can mention specific version like pip install Pillow==2.6.1

Solution 3:

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.

Post a Comment for "How To Install Pillow On Windows Using Pip?"