作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Traceback (most recent call last):
File "c:\users\sathish.pv\appdata\local\continuum\anaconda3\lib\runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "c:\users\sathish.pv\appdata\local\continuum\anaconda3\lib\runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "c:\users\sathish.pv\appdata\local\continuum\anaconda3\lib\runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "C:\Users\sathish.pv\Envs\env\lib\site-packages\spacy\__init__.py", line 12, in <module>
from . import pipeline
File "C:\Users\sathish.pv\Envs\env\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: The specified module could not be found.
I have tried reinstalling spaCy package using "pip install spacy" but still end up getting the same error. How do I deal with this? I am using python version 3.7.4, Windows 10
我尝试使用以下spacy安装方法。但得到同样的错误
ImportError: DLL load failed: The specified module could not be found.
最佳答案
就我而言,通过安装 Visual C++ Redistributable for Visual Studio 2015 解决了这个问题。
您可以从这里下载:https://www.microsoft.com/en-in/download/details.aspx?id=48145 .
关于python 中的 Spacy 语言模型安装返回 ImportError (ImportError : DLL load failed: The specified module could not be found. ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61266519/
我是一名优秀的程序员,十分优秀!