I am not able to load the English model in jupyter notebook with below code-
!pip install spacy
import spacy
spacy.load('en')
Error message:
OSError Traceback (most recent call last) in () ----> 1 spacy.load('en')
C:\ProgramData\Anaconda3\lib\site-packages\spacy_init_.py in load(name, **overrides) 19 if depr_path not in (True, False, None): 20 deprecation_warning(Warnings.W001.format(path=depr_path)) ---> 21 return util.load_model(name, **overrides) 22 23
C:\ProgramData\Anaconda3\lib\site-packages\spacy\util.py in load_model(name, **overrides) 117 elif hasattr(name, 'exists'): # Path or Path-like to model data 118 return load_model_from_path(name, **overrides) --> 119 raise IOError(Errors.E050.format(name=name)) 120 121
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
I have installed python version 2.7.15, 3.6.7, 3.7.1 and Anaconda3 5.3.1
I have downloaded the spacy package with
!pip install spacy
and English package with
python -m spacy download en
in anaconda prompt