Thanks for the report! I just did a quick search for the error message and it looks like it might be caused by insufficient permissions. Do you have admin privileges and if not, could you try run python -m spacy link en_core_web_sm en as admin? If this doesn't help, this issue might be related to the more general problems with symlinks on Windows (see #909).
In the meantime, you can also import the model as a module and call its load() method (this doesn't require any symlinks):
import spacy
import en_core_web_sm # or any other model you downloaded via spacy download or pip
nlp = en_core_web_sm.load()
You could also copy the model data into the spacy/data directory, or create a symlink to the model data manually. When you call spacy.load('model_name') spaCy will look for folders and symlinks of that name in the spacy/data directory.
Thanks for your help ines.
I ran python -m spacy link en_core_web_sm en as admin and everything works now.
Perfect, I'm glad it worked. Thanks for updating!
Thanks, worked for me:
python -m spacy link en_core_web_sm en
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Thanks for the report! I just did a quick search for the error message and it looks like it might be caused by insufficient permissions. Do you have admin privileges and if not, could you try run
python -m spacy link en_core_web_sm enas admin? If this doesn't help, this issue might be related to the more general problems with symlinks on Windows (see #909).In the meantime, you can also import the model as a module and call its
load()method (this doesn't require any symlinks):You could also copy the model data into the
spacy/datadirectory, or create a symlink to the model data manually. When you callspacy.load('model_name')spaCy will look for folders and symlinks of that name in thespacy/datadirectory.