Skip to content
Advertisement

Spacy link error

When running:

import spacy
nlp = spacy.load('en')

the following is printed:

Warning: no model found for ‘en’ Only loading the ‘en’ tokenizer.

/site-packages/spacy/data is empty with the exception of the init file. all filepaths are only pointing to my single installation of python.

Any help appreciated on resolving this.

Thanks! Will

Advertisement

Answer

I had this same issue when I tried this on Windows 10 – the problem was the output of python -m spacy.en.download all said Linking successful but above that was the message that the symbolic link wasn’t actually created, due to permissions.

Running python -m spacy.en.download all as an Adminstrator fixed the problem.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement