gpt4 book ai didi

python 中的 Spacy 语言模型安装返回 ImportError (ImportError : DLL load failed: The specified module could not be found. )

转载 作者:行者123 更新时间:2023-12-03 08:46:33 27 4
gpt4 key购买 nike

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.

  • pip 安装 spacy
  • pip install -U spacy
  • python -m spacy 验证

最佳答案

就我而言,通过安装 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com