IOError: decoder zip not available – Windows

I’m learning Pytesseract OCR. When I tried executing the code, I’m getting error message. Why am I getting this message?

   import Image
except ImportError:
   from PIL import Image
   import pytesseract

Error Message:

Traceback (most recent call last):
File "C:/Users/madhuras/Documents/", line 6, in <module>
File "", line 143, in image_to_string
if len(image.split()) == 4:
File "", line 1749, in split
File "", line 203, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "", line 419, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder zip not available

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.