Ways to find the spacy version installed:
pip show spacypython -m spacy infopython -m spacy validate
Below find how the output will be:
pip show spacy Name: spacy Version: 3.4.2 Summary: Industrial-strength Natural Language Processing (NLP) in Python Home-page: https://spacy.io Author: Explosion Author-email: [email protected] License: MIT Location: c:\users\shraddha.shetty\appdata\local\programs\python\python310\lib\site-packages Requires: catalogue, cymem, jinja2, langcodes, murmurhash, numpy, packaging, pathy, preshed, pydantic, requests, setuptools, spacy-legacy, spacy-loggers, srsly, thinc, tqdm, typer, wasabi Required-by: en-core-web-sm, pyresparser python -m spacy info ============================== Info about spaCy ============================== spaCy version 3.4.2 Location C:\Users\shraddha.shetty\AppData\Local\Programs\Python\Python310\lib\site-packages\spacy Platform Windows-10-10.0.19044-SP0 Python version 3.10.5 Pipelines en_core_web_sm (3.4.1) C:\Users\shraddha.shetty>python -m spacy validate ✔ Loaded compatibility table ================= Installed pipeline packages (spaCy v3.4.3) ================= ℹ spaCy installation: C:\Users\shraddha.shetty\AppData\Local\Programs\Python\Python310\lib\site-packages\spacy NAME SPACY VERSION en_core_web_sm >=3.4.0,<3.5.0 3.4.1 ✔