Python failed to read TIF file exported by envi.

Python failed to read files saved directly as TIF or TIF in ENVI.
error is reported as follows:

Traceback (most recent call last):
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/tifffile/", line 2296, in __init__
    byteorder = {b'II': '<', b'MM': '>', b'EP': '<'}[header[:2]]
KeyError: b'\x00\x00'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 19, in <module>
    band1 = imageio.imread(path+img_path[:-1]+'1.tif')
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/imageio/core/", line 265, in imread
    reader = read(uri, format, "i", **kwargs)
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/imageio/core/", line 186, in get_reader
    return format.get_reader(request)
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/imageio/core/", line 170, in get_reader
    return self.Reader(self, request)
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/imageio/core/", line 221, in __init__
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/imageio/plugins/", line 226, in _open
    self._tf = _tifffile.TiffFile(f, **kwargs)
  File "/data/wdh/.conda/envs/AI_studywdh/lib/python3.6/site-packages/tifffile/", line 2298, in __init__
    raise TiffFileError('not a TIFF file')
tifffile.tifffile.TiffFileError: not a TIFF file

please use save as option
file — > save as

Read More: