PIP - Display information about a package using the pip show command
by
Jeremy Canfield |
Updated: October 28 2023
| PIP articles
The pip show command is used to return information about a package that has been installed in Python.
It's important to recognize that the pip command will be associated with a particular version of Python, which can seen by Location in the following output.
~]$ pip show requests
Name: requests
Version: 2.31.0
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache 2.0
Location: /usr/local/bin/python3.9.6/lib/python3.9/site-packages
Requires: certifi, charset-normalizer, idna, urllib3
Required-by:
The following can be used if you want to return information about an installed package in a specific version of Python.
~]$ /usr/bin/python3.6 -m pip show requests
Name: requests
Version: 2.27.1
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache 2.0
Location: /usr/local/lib/python3.6/site-packages
Requires: certifi, charset-normalizer, idna, urllib3
Required-by: pywinrm, requests-ntlm
Did you find this article helpful?
If so, consider buying me a coffee over at