pip 的使用
一、查看版本
pip show pip
或
pip --version
Name: pip Version: 19.2.3 Summary: The PyPA recommended tool for installing Python packages. Home-page: https://pip.pypa.io/ Author: The pip developers Author-email: pypa-dev@groups.google.com License: MIT Location: d:\programs\python\python37\lib\site-packages Requires: Required-by:
或
pip 19.2.3 from d:\programs\python\python37\lib\site-packages\pip (python 3.7)
Requires会提示我们是否需要对pip升级
二、pip版本升级
python -m pip install --upgrade pip
三、pip安装模块
pip install <moudle>