pip show

Usage

Unix/macOS

  1. python -m pip show [options] <package> ...

Windows

  1. py -m pip show [options] <package> ...

Description

Show information about one or more installed packages.

The output is in RFC-compliant mail header format.

Options

-f``, --files

Show the full list of installed files for each package.

Examples

  1. Show information about a package:

    Unix/macOS

    1. $ python -m pip show sphinx
    2. Name: Sphinx
    3. Version: 1.4.5
    4. Summary: Python documentation generator
    5. Home-page: http://sphinx-doc.org/
    6. Author: Georg Brandl
    7. Author-email: georg@python.org
    8. License: BSD
    9. Location: /my/env/lib/python2.7/site-packages
    10. Requires: docutils, snowballstemmer, alabaster, Pygments, imagesize, Jinja2, babel, six

    Windows

    1. C:\> py -m pip show sphinx
    2. Name: Sphinx
    3. Version: 1.4.5
    4. Summary: Python documentation generator
    5. Home-page: http://sphinx-doc.org/
    6. Author: Georg Brandl
    7. Author-email: georg@python.org
    8. License: BSD
    9. Location: /my/env/lib/python2.7/site-packages
    10. Requires: docutils, snowballstemmer, alabaster, Pygments, imagesize, Jinja2, babel, six
  2. Show all information about a package

    Unix/macOS

    1. $ python -m pip show --verbose sphinx
    2. Name: Sphinx
    3. Version: 1.4.5
    4. Summary: Python documentation generator
    5. Home-page: http://sphinx-doc.org/
    6. Author: Georg Brandl
    7. Author-email: georg@python.org
    8. License: BSD
    9. Location: /my/env/lib/python2.7/site-packages
    10. Requires: docutils, snowballstemmer, alabaster, Pygments, imagesize, Jinja2, babel, six
    11. Metadata-Version: 2.0
    12. Installer:
    13. Classifiers:
    14. Development Status :: 5 - Production/Stable
    15. Environment :: Console
    16. Environment :: Web Environment
    17. Intended Audience :: Developers
    18. Intended Audience :: Education
    19. License :: OSI Approved :: BSD License
    20. Operating System :: OS Independent
    21. Programming Language :: Python
    22. Programming Language :: Python :: 2
    23. Programming Language :: Python :: 3
    24. Framework :: Sphinx
    25. Framework :: Sphinx :: Extension
    26. Framework :: Sphinx :: Theme
    27. Topic :: Documentation
    28. Topic :: Documentation :: Sphinx
    29. Topic :: Text Processing
    30. Topic :: Utilities
    31. Entry-points:
    32. [console_scripts]
    33. sphinx-apidoc = sphinx.apidoc:main
    34. sphinx-autogen = sphinx.ext.autosummary.generate:main
    35. sphinx-build = sphinx:main
    36. sphinx-quickstart = sphinx.quickstart:main
    37. [distutils.commands]
    38. build_sphinx = sphinx.setup_command:BuildDoc

    Windows

    1. C:\> py -m pip show --verbose sphinx
    2. Name: Sphinx
    3. Version: 1.4.5
    4. Summary: Python documentation generator
    5. Home-page: http://sphinx-doc.org/
    6. Author: Georg Brandl
    7. Author-email: georg@python.org
    8. License: BSD
    9. Location: /my/env/lib/python2.7/site-packages
    10. Requires: docutils, snowballstemmer, alabaster, Pygments, imagesize, Jinja2, babel, six
    11. Metadata-Version: 2.0
    12. Installer:
    13. Classifiers:
    14. Development Status :: 5 - Production/Stable
    15. Environment :: Console
    16. Environment :: Web Environment
    17. Intended Audience :: Developers
    18. Intended Audience :: Education
    19. License :: OSI Approved :: BSD License
    20. Operating System :: OS Independent
    21. Programming Language :: Python
    22. Programming Language :: Python :: 2
    23. Programming Language :: Python :: 3
    24. Framework :: Sphinx
    25. Framework :: Sphinx :: Extension
    26. Framework :: Sphinx :: Theme
    27. Topic :: Documentation
    28. Topic :: Documentation :: Sphinx
    29. Topic :: Text Processing
    30. Topic :: Utilities
    31. Entry-points:
    32. [console_scripts]
    33. sphinx-apidoc = sphinx.apidoc:main
    34. sphinx-autogen = sphinx.ext.autosummary.generate:main
    35. sphinx-build = sphinx:main
    36. sphinx-quickstart = sphinx.quickstart:main
    37. [distutils.commands]
    38. build_sphinx = sphinx.setup_command:BuildDoc

Important

Did this article help?

We are currently doing research to improve pip’s documentation and would love your feedback. Please email us &body=%0A%20%20%20%200.%20Document:%20reference/pip_show.%20Page%20URL:%20https:/%20%0A%0A%20%20%20%201.%20What%20problem%20were%20you%20trying%20to%20solve%20when%20you%20came%20to%20this%20page?%20%0A%0A%20%20%20%202.%20What%20content%20was%20useful?%20%0A%0A%20%20%20%203.%20What%20content%20was%20not%20useful?) and let us know:

  1. What problem were you trying to solve when you came to this page?

  2. What content was useful?

  3. What content was not useful?