Hebert AG
Hebert AG

Reputation: 91

Having trouble trying to install spacy

I'm trying to install spacy and I keep getting this import error.

     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:

Does anyone have any idea what might be causing this? Thanks in advance.

Upvotes: 3

Views: 468

Answers (1)

Hebert AG
Hebert AG

Reputation: 91

I have fixed the issue by installing Visual Studio build tools. I thought I had it installed but I only had Visual Studio.

Upvotes: 1

Related Questions