-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading Meteor metric in HF evaluate module crashes due to datasets import issue #6182
Comments
Our minimal Python version requirement is 3.8, so we dropped Feel free to open a PR in the if PY_VERSION < version.parse("3.8"):
import importlib_metadata
else:
import importlib.metadata as importlib_metadata |
Any idea when you guys will release the next version which deals with this problem? |
Yes, this requires a new In the meantime, you can get the fixed version by installing |
I'll aim for a release this week! |
Describe the bug
When using python3.9 and
evaluate
module loading Meteor metric crashes at a non-existent import fromdatasets.config
indatasets v2.14
Steps to reproduce the bug
produces the following error:
Expected behavior
datasets
of v2.10 has the following workaround inconfig.py
:However, it's absent in v2.14 which might be the cause of the issue.
Environment info
datasets
version: 2.14.4The text was updated successfully, but these errors were encountered: