show显示安装包信息-python pip命令教程-Python-IT技术博客

怎样显示已经安装包信息呢,下面我还是用selenium作为例子

C:\Users\Administrator>pip show selenium
Name: selenium
Version: 3.141.0
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: d:\python\python37\lib\site-packages
Requires: urllib3
Required-by:


加上参数files,可以显示那些文件被安装了


C:\Users\Administrator>pip show --files selenium
Name: selenium
Version: 3.141.0
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: d:\python\python37\lib\site-packages
Requires: urllib3
Required-by:
Files:
  selenium-3.141.0.dist-info\INSTALLER
  selenium-3.141.0.dist-info\LICENSE
  selenium-3.141.0.dist-info\METADATA
  selenium-3.141.0.dist-info\RECORD
  selenium-3.141.0.dist-info\WHEEL
  selenium-3.141.0.dist-info\top_level.txt
  selenium\__init__.py
  selenium\__pycache__\__init__.cpython-37.pyc
  selenium\common\__init__.py
  selenium\common\__pycache__\__init__.cpython-37.pyc
  selenium\common\__pycache__\exceptions.cpython-37.pyc
  selenium\common\exceptions.py
  selenium\webdriver\__init__.py
  selenium\webdriver\__pycache__\__init__.cpython-37.pyc
  selenium\webdriver\android\__init__.py
  selenium\webdriver\android\__pycache__\__init__.cpython-37.pyc
  .....


标签: Pythonpip安装包show