You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory. #13992
I keep getting OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory. every time I try to load any spacy model with spacy.load().
I have already downloaded the model with python3 -m spacy download en_core_web_sm.
Why is this?
How to reproduce the behaviour
import spacy nlp = spacy.load("en_core_web_sm")
Even just running these two lines of code causes the error.
Activity
kit57 commentedon Oct 26, 2026
Can you try to run this?
import en_core_web_smnlp = en_core_web_sm.load()Just to check the language package got installed successfully