-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [E050] Can't find model 'de_core_news_sm'... only on debug mode #4638
Comments
Hi, make sure you're installing spacy and the models in the same virtual environment and with python/pip from the same place in your path. The combination of |
Sorry for the mistake, I actually also used python3 for the model download! And I did check the pip3 list and they both exist together. So I guess it is not the problem :( |
If |
Thank you @ines It turned out that I made a silly mistake setting the wrong environment for Pycharm! So there is nothing wrong with spaCy but my personal mistake! |
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. |
After installing spacy
pip3 install -U spacy
and downloadingpython -m spacy download de_core_news_sm
, I can run the following code:Then I tried to debug the code (on Pycharm) and got the following error:
OSError: [E050] Can't find model 'de_core_news_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
I have also tried the solution from #4577 but did not work!
Does anybody know the reason and how to fix it? Thank you in advanced!
The text was updated successfully, but these errors were encountered: