pip命令好处:方便安装python的第三方库
常用命令:
pip install XX
pip show XX
pip uninstall XX
D:Users ony>pip install selenium #下载selenuim库#
D:Users ony>pip show selenium #显示selenium库详细信息,验证是否存在#
---
Metadata-Version: 2.0
Name: selenium
Version: 2.53.6
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: d:softwarepython2.7libsite-packages
Requires:
[33mYou are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.[0m
D:Users ony>pip uninstall selenium #卸载selenuim库#