我在安装spacy en
模块时遇到问题。
以下代码:
nlp = spacy.load('en' , disable=['ner', 'parser'])
产生以下错误:
~\AppData\Local\Continuum\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.