explosion / explosion/spaCy

[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.

Open
#13,992 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
33.9k
Forks
4.7k
Avg merge
3m
Merged PRs (30d)
1

Description

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.

## Your Environment

- **spaCy version:** 3.8.13
- **Platform:** macOS-15.7.7-arm64-arm-64bit-Mach-O
- **Python version:** 3.14.6

Contributor guide

Open the contributing guide

Research direction

Start with the two-line `spacy.load("en_core_web_sm")` reproduction and the `python3 -m spacy download en_core_web_sm` command. Check how the reported Python 3.14.6 and macOS ARM environment resolve the model, and use the provided spaCy version and environment details to trace the failure. Done means identifying why the downloaded model is not found and confirming that the reproduction loads it successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.