How to verify installed spaCy version? How to verify installed spaCy version? python python

How to verify installed spaCy version?


You can also do python -m spacy info. If you're updating an existing installation, you might want to run python -m spacy validate, to check that the models you already have are compatible with the version you just installed.


Use command - python -m spacy info to check spacy version


If you ask yourself: How to find any Python pkg version?This one should be used/ as well, not only for Spacy ofc:

The easiest (if you installed it using pip):

pip show spacy #pip3 if you installed it using pip3

Or:

python -m spacy --version

Or... just run python (with the version that you installed Spacy on) and use the version method

If you want to know the version of any Python pkg (package) you are working with this would work for you every time!

run:

python>> import spacy>> print(spacy.__version__)

Easy to do it with Pycharm built-in IDE console (Jupyter notebook)

Or, Either:

python -m spacy --version

or

python3 -m spacy --version #depends where it is install (python or python3)