小编Arv*_*ind的帖子

AttributeError:模块“spacy”没有属性“load”

import spacy
nlp = spacy.load('en_core_web_sm')

**Error:** Traceback (most recent call last):

  File "C:\Users\PavanKumar\.spyder-py3\ExcelML.py", line 27, in <module>
    nlp = spacy.load('en_core_web_sm')

AttributeError: module 'spacy' has no attribute 'load'
Run Code Online (Sandbox Code Playgroud)

有人能给我建议一个解决方案吗?

python attributes load attributeerror spacy-3

6
推荐指数
2
解决办法
9536
查看次数

标签 统计

attributeerror ×1

attributes ×1

load ×1

python ×1

spacy-3 ×1