Opening .img (Disk Image File) in Python

This is what I found inside the text file,

INFO: Installing from Java module ‘C:\Users\ma6\AppData\Roaming\SNAP\modules\org-esa-snap-snap-python.jar’
INFO: Installing jpy…
ERROR: Traceback (most recent call last):
File “.\snappyutil.py”, line 280, in _main
force=args.force)
File “.\snappyutil.py”, line 154, in _configure_snappy
" $ cd jpy"
AttributeError: ‘list’ object has no attribute ‘join’

ERROR: Configuration failed with exit code 40