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.

Misleading message trying to download non-existing model

See original GitHub issue

I get a misleading error executing the following script code:

from spacy.es import Spanish

nlp = Spanish(path=None)

doc = nlp(u'Hola esto es una prueba de la librería Spacy en Español.')
sentence = next(doc.sents)

After that, the error tells me to download a non-existing model, as it is shown below:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "spacy/tokens/doc.pyx", line 434, in __get__ (spacy/tokens/doc.cpp:9664)
ValueError: sentence boundary detection requires the dependency parse, which requires data to be installed. If you haven't done so, run: 
python -m spacy download es
to install the data

Running python -m spacy download es in command line the message tell me es does not existing as model:

$ python -m spacy download es

    Compatibility error

    No compatible model found for 'es' (spaCy v1.8.2).

SpaCy should have checked for available models, or simply pointed to the models documentation instead.

My Environment

  • Python version: 2.7.13
  • Platform: Darwin-16.5.0-x86_64-i386-64bit
  • spaCy version: 1.8.2
  • Installed models:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
inescommented, May 12, 2017

Thanks for the report – this will definitely be fixed in the next version! 👍

(Also, as I mentioned on StackOverflow, the language models docs should probably be more explicit about what “alpha support” really means, i.e. that it refers to the tokenizer and Language class and not to alpha models etc. I think even renaming the section to “Languages” and adding a note to the alpha section will help here. Will update this as well!)

0reactions
lock[bot]commented, May 8, 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

Troubleshoot QueueDoesNotExist errors when making API ...
A QueueDoesNotExist exception returns when the request is made to the incorrect AWS Region. The software development kit (SDK) and AWS ...
Read more >
Protect yourself from tech support scams - Microsoft Support
At best, the scammers are trying to get you to pay them to "fix" a nonexistent problem with your device or software. At...
Read more >
Clang linking error MacOS Big Sur | Apple Developer Forums
Hi All, I am trying to build my helloworld.cpp, but I am having problem since I updated to Big Sur. Below a verbose...
Read more >
VScode remote connection error: The process tried to write to ...
Add the absolute file path to a custom SSH config file(C:\Users\{USERNAME}\.ssh\config), and my problem is solved.
Read more >
How to fix "The following module is missing from the file ...
The introduction of the warning message in Drupal 7.50 does make it visible. ... did something wrong uninstalling a module or installing a...
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