Closed reactormonk closed 3 years ago
Get running Python version from:
import sys
print(sys.version)
I'm unsure if a tuple with 2 or less objects from stuct.unpack_from
would throw that error, seems more likely you're running the script on an older version of Python. Now, the parenthesis surrounding the starred expression might also be an issue, but I'm not an expert on interpreting that exact combination.
$ python --version
Python 3.9.2
I also see the issue appearing in Python 3.9.2+. I've tested with 3.9.1 and below which works without any issues. There were a few changes in Python 3.9.2 which could have changed the behavior, but haven't had time to verify just yet.
Python 3.9.2 RC1 implemented a bug fix (bpo-40631):
Python PR 24068 was merged in January to 3.9 branch.
I've seen @nymanjens is working on PR #50 to fix this issue.
Works on master, can confirm!
I've installed the library via
pip install mgzdb
and python 3.9, but I getSame with python 3.8.