Loading Meteor metric in HF evaluate module crashes due to datasets import issue 
COLLABORATOR
Our minimal Python version requirement is 3.8, so we dropped `importlib_metadata`. 

Feel free to open a PR in the `evaluate` repo to replace the problematic import with
```python
if PY_VERSION < version.parse("3.8"):
    import importlib_metadata
else:
    import importlib.metadata as importlib_metadata
```
2023-08-25T17:36:33Z
https://github.com/huggingface/datasets/issues/6182#issuecomment-1693714436
https://api.github.com/repos/huggingface/datasets/issues/6182
IC_kwDODunzps5k9AgE
https://api.github.com/repos/huggingface/datasets/issues/comments/1693714436/reactions
2023-08-25T17:36:33Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1693714436
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
Any idea when you guys will release the next version which deals with this problem?
I'm still having the same issue with py 3.10 when I install the lib with pip.
I'm assuming that it has not yet been updated since the merge was 3 days ago.
2023-09-01T18:51:12Z
https://github.com/huggingface/datasets/issues/6182#issuecomment-1703191710
https://api.github.com/repos/huggingface/datasets/issues/6182
IC_kwDODunzps5lhKSe
https://api.github.com/repos/huggingface/datasets/issues/comments/1703191710/reactions
2023-09-01T18:51:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1703191710
https://avatars.githubusercontent.com/u/44399382?v=4
https://api.github.com/users/SajjadPSavoji/events{/privacy}
https://api.github.com/users/SajjadPSavoji/followers
https://api.github.com/users/SajjadPSavoji/following{/other_user}
https://api.github.com/users/SajjadPSavoji/gists{/gist_id}
https://github.com/SajjadPSavoji
SajjadPSavoji
MDQ6VXNlcjQ0Mzk5Mzgy
https://api.github.com/users/SajjadPSavoji/orgs
https://api.github.com/users/SajjadPSavoji/received_events
https://api.github.com/users/SajjadPSavoji/repos
https://api.github.com/users/SajjadPSavoji/starred{/owner}{/repo}
https://api.github.com/users/SajjadPSavoji/subscriptions
User
https://api.github.com/users/SajjadPSavoji
public
COLLABORATOR
Yes, this requires a new `evaluate` release (cc @lvwerra for this). 

In the meantime, you can get the fixed version by installing `evaluate` from `main`: `pip install git+https://github.com/huggingface/evaluate.git`
2023-09-04T14:06:32Z
https://github.com/huggingface/datasets/issues/6182#issuecomment-1705333671
https://api.github.com/repos/huggingface/datasets/issues/6182
IC_kwDODunzps5lpVOn
https://api.github.com/repos/huggingface/datasets/issues/comments/1705333671/reactions
2023-09-04T14:06:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1705333671
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
MEMBER
I'll aim for a release this week!
2023-09-04T16:41:11Z
https://github.com/huggingface/datasets/issues/6182#issuecomment-1705526159
https://api.github.com/repos/huggingface/datasets/issues/6182
IC_kwDODunzps5lqEOP
https://api.github.com/repos/huggingface/datasets/issues/comments/1705526159/reactions
2023-09-04T16:41:11Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1705526159
https://avatars.githubusercontent.com/u/8264887?v=4
https://api.github.com/users/lvwerra/events{/privacy}
https://api.github.com/users/lvwerra/followers
https://api.github.com/users/lvwerra/following{/other_user}
https://api.github.com/users/lvwerra/gists{/gist_id}
https://github.com/lvwerra
lvwerra
MDQ6VXNlcjgyNjQ4ODc=
https://api.github.com/users/lvwerra/orgs
https://api.github.com/users/lvwerra/received_events
https://api.github.com/users/lvwerra/repos
https://api.github.com/users/lvwerra/starred{/owner}{/repo}
https://api.github.com/users/lvwerra/subscriptions
User
https://api.github.com/users/lvwerra
public
### Describe the bug

When using python3.9 and ```evaluate``` module loading Meteor metric crashes at a non-existent import from ```datasets.config``` in ```datasets v2.14```

### Steps to reproduce the bug

```
from evaluate import load
meteor = load("meteor")
```

produces the following error:
  ```
    from datasets.config import importlib_metadata, version
ImportError: cannot import name 'importlib_metadata' from 'datasets.config' (<path_to_project>/venv/lib/python3.9/site-packages/datasets/config.py)
```

### Expected behavior

```datasets``` of v2.10 has the following workaround in ```config.py```:

```
if PY_VERSION < version.parse("3.8"):
    import importlib_metadata
else:
    import importlib.metadata as importlib_metadata
```

However, it's absent in v2.14 which might be the cause of the issue.

### Environment info

- `datasets` version: 2.14.4
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.9.6
- Huggingface_hub version: 0.16.4
- PyArrow version: 12.0.1
- Pandas version: 2.0.3
- Evaluate version: 0.4.0