ConnectionError

python需要联网下载时 ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.7.0/metrics/sacrebleu/sacrebleu.py

metric = load_metric("sacrebleu")

解决:

pip install pyopenssl

posted @ 2021-06-07 21:20  WeiAR  阅读(2223)  评论(0编辑  收藏  举报