​welcome to my blog​

问题描述: 导入spacy模块后, 执行​​nlp = spacy.load('en_core_web_sm')​​报错:[E050] Can’t find model ‘en_core_web_sm’. It doesn’t seem to be a shortcut link, a Python package or a valid path to a data directory.

解决方法: 在命令行中执行​​python -m spacy download en_core_web_sm​​即可

Cant find model en_core_web_sm_windows