Connection refused downloading English models spaCy 1.6
See original GitHub issueDescription
I’m getting an exception urllib2.URLError
“Connection refused” when trying to download the English models using spacy==1.6.0
In a clean virtualenv I’ve only installed spacy==1.6.0
and immediately after I’ve run:
python -m spacy.en.download all
This command raises an exception with the following stack trace:
➜ ~ python -m spacy.en.download all
Downloading parsing model
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "[...]/lib/python2.7/site-packages/spacy/en/download.py", line 25, in <module>
plac.call(main)
File "[...]/local/lib/python2.7/site-packages/plac_core.py", line 328, in call
cmd, result = parser.consume(arglist)
File "[...]/local/lib/python2.7/site-packages/plac_core.py", line 207, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File "[...]/lib/python2.7/site-packages/spacy/en/download.py", line 18, in main
download('en', force=False, data_path=data_path)
File "[...]/local/lib/python2.7/site-packages/spacy/download.py", line 36, in download
about.__models__.get(lang, lang), data_path)
File "[...]/local/lib/python2.7/site-packages/sputnik/__init__.py", line 37, in install
index.update()
File "[...]/local/lib/python2.7/site-packages/sputnik/index.py", line 84, in update
index = json.load(session.open(request, 'utf8'))
File "[...]/local/lib/python2.7/site-packages/sputnik/session.py", line 43, in open
r = self.opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
It looks like the server to download the models for this old version of spaCy is down.
My Environment
- Operating System: Debian 8 64 bits
- Python Version Used: Python 2.7.9
- spaCy Version Used: 1.6.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
python -m spacy.en.download connection refused URLError
I'm getting the following error when I try to download the English package for an old version of spacy with the command "python...
Read more >Install spaCy · spaCy Usage Documentation
Download pipelines. After installation you typically want to download a trained pipeline. For more info and available packages, see the models directory.
Read more >Knowledge Graph & NLP Tutorial-(BERT,spaCy,NLTK) - Kaggle
For example, semantic analyzer would reject a sentence like “Hot ice-cream”. ... it can be download and used for free — we can...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. ... connect-proxy, prank, r-clue ... oclint, py-spacy-models-en-core-web-sm, xsetroot.
Read more >How to Setup Your Python Environment for Machine Learning ...
Install Deep Learning Libraries. 1. Download Anaconda. In this step, we will download the Anaconda Python package for your platform. Anaconda is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ines It seems that is down again. I cannot get the models for the last two days.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.