SSLError


Version:
Python 3.8
transformer 4.21.0

I am trying to use DistilBertTokenizer using the following line:
`tokenizer = DistilBertTokenizer.from_pretrained("distilbert-base-uncased", do_lower_case=True)`

but SSLerror arise from the line above
`requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /distilbert-base-uncased/resolve/main/vocab.txt (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))`


Does anyone manage to solve this? I tried some methods online but still got the same error.
It seems there is an issue with your SSL module and `requests`, not with `transformers`; I would head to Stack Overflow or another forum focused on these issues, we're unfortunately unlikely to be able to help you out here.<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.