statsmaths / cleanNLP

R package providing annotators and a normalized data model for natural language processing
GNU Lesser General Public License v2.1
209 stars 36 forks source link

Error: model en not found; use cnlp_download_spacy("en") to install #78

Closed scrosseye closed 2 years ago

scrosseye commented 3 years ago

Hi Taylor,

First, thanks so much for setting up cleanNLP. It was awesome on my last computer and the one before that.

I am having issues with it now, sadly, on my new computer. These are issues that were somewhat addressed toward the end of

https://github.com/statsmaths/cleanNLP/issues/60 but never resolved.

I have set up cleanNLP and when I attempt to initialize spaCy with either

cnlp_init_spacy(model_name="en") cnlp_init_spacy()

I get the error

Error: model en not found; use cnlp_download_spacy("en") to install

When I attempt

cnlp_download_spacy("en")

I get

Error in py_call_impl(callable, dots$args, dots$keywords) : SystemExit: 1

I had previously downloaded the English spaCy model in Python using the direction on the spaCy website. I am running python 3.7.9 64 bit.

python -m spacy download en_core_web_sm

All help appreciated. I have a bunch of scripts that I use in cleanNLP that I can no longer access.

Best,

Scott