1

I use Spyder with Anaconda. SpaCy is a standard module and installs just fine. But there is no standard way to add the models.
Simply putting them in the spacy/data directory as is suggested on some sites does not work.
It results in the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/username/anaconda/anaconda3/lib/python3.6/site-packages/spacy/data/en_core_web_sm/en_core_web_sm-2.1.0a0/parser/tok2vec_model'

help-info.de
  • 6,695
  • 16
  • 39
  • 41

1 Answers1

1

What worked for me was the now considered "standard way":

Step 1 : Install spacy Run the below command in Anaconda Prompt (Run as administrator)

conda install -c conda-forge spacy

Step 2 : Install language model

python -m spacy download en # default English model (~50MB)

python -m spacy download en_core_web_md # larger English model (~1GB)

In my case just the default small one (50mb) was fine.

Source: copy-paste from here

Jason Angel
  • 2,233
  • 1
  • 14
  • 14