jadore801120/attention-is-all-you-need-pytorch

raise ConnectionError(e, request=request)

Opened this issue · 1 comments

when I run the command "python -m spacy download en",I got the problem of requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /explosion/spacy-models/master/shortcuts-v2.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb877df1390>: Failed to establish a new connection: [Errno 111] Connection refused')).There is someone who encountered the same problem.How to fix the problem? Thanks a lot!!!!

Hi, @KrisLee512 , did you find the solution to this problem? I came to the same problem here
I have tried using pip install en from github

pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz

and installed de from local which is downloaded from this page

but still did not work

Any help would be appreciated, thanks a lot