while executing command like ****
- vinod@vinod:~/Weatherbot$ sudo python -m spacy download en
. we got error as below Traceback (most recent call last): File “/usr/lib/python2.7/runpy.py”, line 174, in _run_module_as_mainstrong text “main”, fname, loader, pkg_name) File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code exec code in run_globals File “/home/vinod/.local/lib/python2.7/site-packages/spacy/main.py”, line 133, in plac.Interpreter.call(CLI) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 1142, in call print(out) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 914, in exit self.close(exctype, exc, tb) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 952, in close self._interpreter.throw(exctype, exc, tb) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 964, in make_interpreter arglist = yield task File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 1139, in call raise(task.etype, task.exc, task.tb) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 380, in wrap for value in genobj: File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 95, in gen_exc raise(etype, exc, tb) File “/home/vinod/.local/lib/python2.7/site-packages/plac_ext.py”, line 966, in _make_interpreter cmd, result = self.parser.consume(arglist) File “/home/vinod/.local/lib/python2.7/site-packages/plac_core.py”, line 207, in consume return cmd, self.func(*(args + varargs + extraopts), **kwargs) File “/home/vinod/.local/lib/python2.7/site-packages/spacy/main.py”, line 33, in download cli_download(model, direct) File “/home/vinod/.local/lib/python2.7/site-packages/spacy/cli/download.py”, line 20, in download model_name = check_shortcut(model) File “/home/vinod/.local/lib/python2.7/site-packages/spacy/cli/download.py”, line 39, in check_shortcut shortcuts = get_json(about.shortcuts, “available shortcuts”) File “/home/vinod/.local/lib/python2.7/site-packages/spacy/cli/download.py”, line 28, in get_json r = requests.get(url) File “/home/vinod/.local/lib/python2.7/site-packages/requests/api.py”, line 72, in get return request(‘get’, url, params=params, **kwargs) File “/home/vinod/.local/lib/python2.7/site-packages/requests/api.py”, line 58, in request return session.request(method=method, url=url, **kwargs) File “/home/vinod/.local/lib/python2.7/site-packages/requests/sessions.py”, line 518, in request resp = self.send(prep, **send_kwargs) File “/home/vinod/.local/lib/python2.7/site-packages/requests/sessions.py”, line 639, in send r = adapter.send(request, **kwargs) File “/home/vinod/.local/lib/python2.7/site-packages/requests/adapters.py”, line 488, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: (‘Connection aborted.’, error(104, ‘Connection reset by peer’))
how to fix this problem.