0

I have problem with import Image library in Python 2.7 on Windows. When I write:

import Image 

I have error:

No module named Image

Library is added in project settings so I tried

from PIL import Image

Unfortunately now I have next error

raise IOError("decoder %s not available" % decoder_name)
IOError: decoder zip not available

I have no idea what to do.

idjaw
  • 25,487
  • 7
  • 64
  • 83
abioticGirl
  • 188
  • 1
  • 7

1 Answers1

2

For windows:

python -m pip install Pillow

then in your python code:

from PIL import Image
Raj Damani
  • 782
  • 1
  • 6
  • 19