Opening .img (Disk Image File) in Python

Are you working in Linux or windows os? I think in Linux the matter is simpler to configure SNAPPY, and it’s supported python 3.5 and up, also you could create an environment and different versions of python, for instance py2.7 and then cofi. with snappy, However under windows os, it’s a bit tricky, but it’s possible to solve it,

Please take a look at the following thread, Configuration SNAPPY with python under windows os

Source of the thread