Skip to content

[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

Description

@oliverchan698

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions