software library for natural language processing

spaCy Tailored Pipelines
Advanced NLP with spaCy: A free online course
pypi Version
conda Version
spaCy (/speɪˈsiː/ spay-SEE) is an open-source software library for advanced natural language processing, written in the programming languages Python and Cython. The library is published under the MIT license and its main … Wikipedia
Factsheet
spaCy
Original author Matthew Honnibal
Developers Explosion AI, various
Factsheet
spaCy
Original author Matthew Honnibal
Developers Explosion AI, various
🌐
GitHub
github.com › explosion › spacy-models
GitHub - explosion/spacy-models: 💫 Models for the spaCy Natural Language Processing (NLP) library
import spacy import en_core_web_sm ... custom directory. You can download the model via your browser from the latest releases, or configure your own download script using the URL of the archive file....
Starred by 1.8K users
Forked by 313 users
Languages   Python
🌐
spaCy
spacy.io › usage › models
Models & Languages · spaCy Usage Documentation
If you’re running your own internal PyPi installation, you can upload the pipeline packages there. pip’s requirements file format supports both package names to download via a PyPi server, as well as direct URLs. For instance, you can specify the en_core_web_sm model for spaCy 3.7.x as follows:
🌐
PyPI
pypi.org › project › spacy
spacy · PyPI
# Download best-matching version of specific model for your spaCy installation python -m spacy download en_core_web_sm # pip install .tar.gz archive or .whl from path or URL pip install /Users/you/en_core_web_sm-3.0.0.tar.gz pip install ...
      » pip install spacy
    
Published   Nov 17, 2025
Version   3.8.11
Homepage   https://spacy.io
🌐
spaCy
spacy.io › usage
Install spaCy · spaCy Usage Documentation
Instead, spaCy adds an auto-alias that maps spacy to python -m spacy. If this is not working as expected, run the command with python -m, yourself – for example python -m spacy download en_core_web_sm.
🌐
spaCy
spacy.io › models › en
English · spaCy Models Documentation
en_core_web_sm · en_core_web_md · en_core_web_lg · en_core_web_trf · Finnish · French · German · Greek · Italian · Japanese · Korean · Lithuanian · Macedonian · Multi-language · Norwegian Bokmål · Polish · Portuguese · Romanian · Russian ·
🌐
GitHub
github.com › explosion › spacy-models › blob › master › meta › en_core_web_sm-2.2.5.json
spacy-models/meta/en_core_web_sm-2.2.5.json at master · explosion/spacy-models
💫 Models for the spaCy Natural Language Processing (NLP) library - spacy-models/meta/en_core_web_sm-2.2.5.json at master · explosion/spacy-models
Author   explosion
🌐
New Releases
newreleases.io › project › github › explosion › spacy-models › release › en_core_web_sm-3.0.0
explosion/spacy-models en_core_web_sm-3.0.0 on GitHub
February 1, 2021 - Components: tok2vec, tagger, parser, senter, ner, attribute_ruler, lemmatizer. View label scheme (114 labels for 4 components) pip install spacy python -m spacy download en_core_web_sm ·
🌐
GitHub
github.com › explosion › spaCy
GitHub - explosion/spaCy: 💫 Industrial-strength Natural Language Processing (NLP) in Python
# Download best-matching version of specific model for your spaCy installation python -m spacy download en_core_web_sm # pip install .tar.gz archive or .whl from path or URL pip install /Users/you/en_core_web_sm-3.0.0.tar.gz pip install ...
Starred by 32.9K users
Forked by 4.6K users
Languages   Python 54.1% | MDX 31.2% | Cython 10.5% | JavaScript 2.6% | Sass 0.8% | TypeScript 0.4%
Find elsewhere
🌐
GitHub
github.com › explosion › spaCy › discussions › 11244
Make spacy models and extra package download compatible with PEP 503 · explosion/spaCy · Discussion #11244
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl
Author   explosion
🌐
New Releases
newreleases.io › project › github › explosion › spacy-models › release › en_core_web_sm-3.1.0
explosion/spacy-models en_core_web_sm-3.1.0 on GitHub
July 6, 2021 - Components: tok2vec, tagger, parser, senter, ner, attribute_ruler, lemmatizer. View label scheme (114 labels for 4 components) pip install spacy python -m spacy download en_core_web_sm ·
🌐
GitHub
github.com › explosion › spaCy › issues › 5337
python -m spacy download en_core_web_sm does nothing · Issue #5337 · explosion/spaCy
January 2, 2020 - How to reproduce the problem Running pip install spaCy goes smoothly without issues, but trying to download en_core_web_sm does nothing, it doesn't even show a error message, the command line just goes straight to the next command. C:\Us...
Published   Apr 22, 2020
🌐
GitHub
github.com › achutharunr › spaCy
GitHub - achutharunr/spaCy: Manual installation of spaCy model
This repository contains all the files to manual recreate and install the en_core_web_sm model (Version 2.0.0) via setup.py or pip.
Author   achutharunr
🌐
GitHub
github.com › explosion › spaCy › discussions › 10895
Error: 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 · explosion/spaCy · Discussion #10895
That is, as the video explains, I directly replaced "en_core_web_sm" with the address on my Windows 11 notebook where the spacy library (python -m spacy download en). The .exe run ok.
Author   explosion
Top answer
1 of 16
271

Initially I downloaded two en packages using following statements in anaconda prompt.

python -m spacy download en_core_web_lg
python -m spacy download en_core_web_sm

But, I kept on getting linkage error and finally running below command helped me to establish link and solved error.

python -m spacy download en

Also make sure you to restart your runtime if working with Jupyter. -PS : If you get linkage error try giving admin previlages.

2 of 16
97

The answer to your misunderstanding is a Unix concept, softlinks which we could say that in Windows are similar to shortcuts. Let's explain this.

When you spacy download en, spaCy tries to find the best small model that matches your spaCy distribution. The small model that I am talking about defaults to en_core_web_sm which can be found in different variations which correspond to the different spaCy versions (for example spacy, spacy-nightly have en_core_web_sm of different sizes).

When spaCy finds the best model for you, it downloads it and then links the name en to the package it downloaded, e.g. en_core_web_sm. That basically means that whenever you refer to en you will be referring to en_core_web_sm. In other words, en after linking is not a "real" package, is just a name for en_core_web_sm.

However, it doesn't work the other way. You can't refer directly to en_core_web_sm because your system doesn't know you have it installed. When you did spacy download en you basically did a pip install. So pip knows that you have a package named en installed for your python distribution, but knows nothing about the package en_core_web_sm. This package is just replacing package en when you import it, which means that package en is just a softlink to en_core_web_sm.

Of course, you can directly download en_core_web_sm, using the command: python -m spacy download en_core_web_sm, or you can even link the name en to other models as well. For example, you could do python -m spacy download en_core_web_lg and then python -m spacy link en_core_web_lg en. That would make en a name for en_core_web_lg, which is a large spaCy model for the English language.

🌐
python-gatenlp
gatenlp.github.io › python-gatenlp › lib_spacy.html
Spacy pipeline | python-gatenlp - GitHub Pages
Collecting en-core-web-sm==3.3.0 Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.3.0/en_core_web_sm-3.3.0-py3-none-any.whl (12.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ...
🌐
GitHub
github.com › explosion › spacy-models › releases
Releases · explosion/spacy-models
ENTS_F · 68.42 · pip install spacy python -m spacy download zh_core_web_sm · Assets 4 · Loading · There was an error while loading. Please reload this page. 30 Sep 09:59 · explosion-bot · zh_core_web_md-3.8.0 · 374ece8 · Compare · ...
Author   explosion
🌐
GitHub
github.com › explosion › spaCy › issues › 4577
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. · Issue #4577 · explosion/spaCy
November 2, 2019 - I have installed spacy and downloaded en_core_web_sm with: pip3 install spacy python3 -m spacy download en_core_web_sm ·
Published   Nov 02, 2019