Skip to content
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

Package rouge-score cannot be imported #4734

Closed
albertvillanova opened this issue Jul 22, 2022 · 1 comment · Fixed by #4735
Closed

Package rouge-score cannot be imported #4734

albertvillanova opened this issue Jul 22, 2022 · 1 comment · Fixed by #4735
Assignees
Labels
bug Something isn't working

Comments

@albertvillanova
Copy link
Member

Describe the bug

After the today release of rouge_score-0.0.7 it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true

FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_configs_bigbench
FAILED tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_bigbench
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_rouge

with errors:

>   from rouge_score import rouge_scorer
E   ModuleNotFoundError: No module named 'rouge_score'
E           ImportError: To be able to use rouge, you need to install the following dependency: rouge_score.
E           Please install it using 'pip install rouge_score' for instance'
@albertvillanova albertvillanova added the bug Something isn't working label Jul 22, 2022
@albertvillanova albertvillanova self-assigned this Jul 22, 2022
@albertvillanova
Copy link
Member Author

We have added a comment on an existing issue opened in their repo: google-research/google-research#1212 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant