Image.open() cannot identify image file – Python?

I had a same issue.

from PIL import Image

instead of

import Image

fixed the issue

Leave a Comment