我正在尝试安装spacy,并且不断收到此导入错误。
File "<stdin>", line 1, in <module>
File "E:\Users\Hebert\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\__init__.py", line 12, in <module>
from . import pipeline
File "E:\Users\Hebert\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\pipeline\__init__.py", line 4, in <module>
from .pipes import Tagger, DependencyParser, EntityRecognizer, EntityLinker
File "pipes.pyx", line 1, in init spacy.pipeline.pipes
ImportError: DLL load failed while importing nn_parser:
有人知道这是什么原因吗?预先感谢。
答案 0 :(得分:0)
我已通过安装Visual Studio构建工具解决了该问题。我以为我已经安装了它,但是我只有Visual Studio。