W3docs

Find which version of package is installed with pip

You can use the following command to check the version of a package installed with pip:

You can use the following command to check the version of a package installed with pip:

Check the version of a package installed with pip

pip show <package-name>

For example, to check the version of the package "requests", you would use:

Check the version of the package "requests" by pip

pip show requests

This will give you the package details, including the version number.

You can also use

Get the details of an installed package by pip

pip freeze | grep <package-name>

This will give you the package name and version for the specified package only.