Reputation: 7364
I installed spacy with pip and wanted to load spacy. The following python code with spacy:
import spacy
nlp = spacy.load('de',disable=['parser', 'tagger','ner'])
nlp.max_length = 1198623
Unfortunately, the code is throwing the following error:
OSError: [E050] Can't find model 'de'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
Upvotes: 1
Views: 650
Reputation: 7364
I had to install spacy as the following:
python -m spacy download de
Upvotes: 2