Find which version of package is installed with pip Find which version of package is installed with pip python python

Find which version of package is installed with pip


As of pip 1.3, there is a pip show command.

$ pip show Jinja2---Name: Jinja2Version: 2.7.3Location: /path/to/virtualenv/lib/python2.7/site-packagesRequires: markupsafe

In older versions, pip freeze and grep should do the job nicely.

$ pip freeze | grep Jinja2Jinja2==2.7.3


I just sent a pull request in pip with the enhancement Hugo Tavares said:

(specloud as example)

$ pip show specloudPackage: specloudVersion: 0.4.4Requires:nosefigleafpinocchio


Pip 1.3 now also has a list command:

$ pip listargparse (1.2.1)pip (1.5.1)setuptools (2.1)wsgiref (0.1.2)


matomo