Reputation: 2059
I am using PyCharm with Python 3.0 and I want to import Pillow Module.
While installing the Pillow module from Project Interpreter, I got a message which says:
ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting.
I have also tried installing the same from command line by using both pip install and easy install but the command line is also throwing the same error.
I tried to find several solution in internet, but most of them are for Linux. for example, this solution: no module named zlib
How can I solve this issue in Windows and with PyCharm ?
Upvotes: 10
Views: 15879
Reputation: 1098
Its Simple Go To Virtualenv
and run
easy_install Pillow
It works fine
Upvotes: 10
Reputation: 1264
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.
Upvotes: 2
Reputation: 1
files > Settings > Project Test > Project Interpreter > ADD > Pillow-PIL
Upvotes: -3