ImportError:导入nn_parser时DLL加载失败:找不到指定的模块

时间:2020-08-21 04:15:29

标签: python-3.x google-cloud-platform nlp spacy

仅连接到gcp实例。安装了Python,VScode,git。复制我的存储库,创建一个虚拟环境。到目前为止一切正常。然后我运行我的项目。

但是出现了这个错误

Traceback (most recent call last):
  File "app.py", line 3, in <module>
    import spacy
  File "C:\Users\hiteshsom\Documents\hobby_project\env\lib\site-packages\spacy\__init__.py", line 12, in <module>
    from . import pipeline
  File "C:\Users\hiteshsom\Documents\hobby_project\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 while importing nn_parser: The specified module could not be found.

此错误未在我的本地出现。 非常感谢您的帮助。

0 个答案:

没有答案