you get an error while loading the spacy ‘encorewebsm’ library

you need to install the en_core_web_sm model separately by using the following command after installing spacy

python -m spacy download en_core_web_sm

or

python -m spacy download en

I have tried the below steps in my jupyter notebook just now and it works good as below:

step1:

!pip install spacy

Result:

Requirement already satisfied: spacy in c:\users\user\appdata\local\continuum\anaconda\lib\site-packages (2.3.2)

step2:

!python -m spacy download en_core_web_sm

Result:

Collecting en_core_web_sm==2.3.1 from https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz#egg=en_core_web_sm==2.3.1
  Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz (12.0MB)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top