question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Downloading a model has failed

See original GitHub issue

After installing Spacy I run the following command

python -m spacy.en.download

and got the error:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/spacy/en/download.py", line 13, in <module>
    plac.call(main)
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/plac_core.py", line 328, in call
    cmd, result = parser.consume(arglist)
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/plac_core.py", line 207, in consume
    return cmd, self.func(*(args + varargs + extraopts), **kwargs)
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/spacy/en/download.py", line 9, in main
    download('en', force)
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/spacy/download.py", line 24, in download
    package = sputnik.install(about.__title__, about.__version__, about.__models__[lang])
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/sputnik/__init__.py", line 37, in install
    index.update()
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/sputnik/index.py", line 84, in update
    index = json.load(session.open(request, 'utf8'))
  File "/Users/andrazhribernik/cytora/streaming-pipeline/venv/lib/python2.7/site-packages/sputnik/session.py", line 43, in open
    r = self.opener.open(request)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

It seems that server where models are stored is down. It could be that I am missing something. Thanks for your help.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
marcotcrcommented, Aug 23, 2016

I’m having this issue now, and index.spacy.io cannot be found either.

0reactions
lock[bot]commented, May 9, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloading a model has failed · Issue #485 · explosion/spaCy
I have pulled the downloaded english models from my local Spacy installation. You can download them below. To use the spacy model data, ......
Read more >
RuntimeError: Model downloader failed! - Luxonis
I'm trying to run on windows-10, I think everything is installed as required. I've followed the instructions here https://docs.luxonis.com/en/ ...
Read more >
"Failed to download file" attempting to edit a particular Fusion ...
Error : "Failed to download file" appears when attempting to edit in Desktop. ... The thumbnail of the affected model is empty.
Read more >
Error downloading Spanish model in Spacy - Stack Overflow
You can download the spanish models with: python -m spacy download es_core_news_sm. You can see the two different spanish model on:.
Read more >
Fix file download errors - Google Chrome Help
This error means that you're trying to download a file that doesn't exist on this site or has been moved to another area...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found