Model installation problem and wrong error message
See original GitHub issueHello there,
Thanks for this wonderful package. I am using Anaconda on a windows 64 machine, and I have a hard time installing it and using it. I ran
conda config --add channels conda-forge
conda install spacy
and I also ran python -m spacy.en.download all
Now, if I use the two-liner available on your website, I get an error
import spacy # See "Installing spaCy"
nlp = spacy.load('en') # You are here.
doc = nlp(u'Hello, spacy!') # See "Using the pipeline"
print((w.text, w.pos_) for w in doc)
<generator object <genexpr> at 0x000000000F162678>
and
sentences = [s for s in doc.sents]
print(len(sentences))
gives
ValueError: sentence boundary detection requires the dependency parse, which requires data to be installed. If you haven't done so, run:
python -m spacy.en.download all
to install the data
Any ideas? Thanks!!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to troubleshoot Windows Installer errors - Microsoft Support
If you receive an error message, enter the error message text into a search engine such as Bing or Google to locate troubleshooting...
Read more >Sign in - YouTube
How to Fix Software Installation Error in Windows 10/8.1/7 Fail Can't Install.Registry Entry: msiexec /i "%1"Like any complex piece of ...
Read more >Fixed: “There is a problem with this Windows installer package ...
In this article, you will learn how to fix the “There is a problem with this Windows installer package” error on Windows 10....
Read more >Graphics Driver Installation Error: "Your system has a... - Intel
This issue most often occurs because the driver currently installed on the system is non-DCH. DCH driver 26.20.100.8141 or newer drivers will only...
Read more >Troubleshoot Google Docs, Sheets, Slides & Forms error ...
If you get an error message such as "Something went wrong. ... you from making edits on your Docs, Slides, or Sheets, you...
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
I’m seeing the exact same issue as @randomgambit . A workaround that I’ve found is to import the model like this:
Could you show us the output of
python -m spacy info
in the console? And inside spyder, the output of the following code: