Misleading message trying to download non-existing model
See original GitHub issueI 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:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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!)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.