[PYTHON] Pillow installation confirmation, IOError

The result of googled because I could not install PIL with pip Currently, Pillow is used.

pip install Pillow

I was able to install it safely.

Also, I got a little stuck in the operation check, so make a note.

import Image img = Image.open("filename") Here IOError: cannot identify image file

HM.

Correctly from PIL import Image img = Image.open("filename") img.show()

I was able to confirm the operation with this.

Recommended Posts

Pillow installation confirmation, IOError
pillow