Recent versions of Microsoft Windows Explorer use Deflate64 compression when creating ZIP files larger than 2GB.(There are various methods for zipping, and it automatically switches the method based on file size).
This Deflate64 compression is not implemented in the zipfile module.
You should use the zipfile-deflate64 module instead
Install using : pip install zipfile-deflate64
In your python file, import the module using import zipfile_deflate64 as zipfile
Now you can use it like the zipfile module:
with zipfile.ZipFile('NameofZipFile'+ '.zip', 'r') as zip_ref:
zip_ref.extractall(dirname)
For more information you can read : https://pypi.org/project/zipfile-deflate64/