I’m trying to get the EXIF tags of an JPG image. To do this, I’m using piexif module. The problem is that I get an error – KeyError, saying this: I’ve did everything as in the docs, here on some questions StackOverflow and on pypi website. Everything the same. My code: How do I read the image’s EXIF tags then?