- 安装第三方包
pip install xxx pip install xxx==2.9.0 #安装对应版本的第三方包
(xxx表示第三方包名,下同)
- 卸载第三方包
pip uninstall xxx
- 查看第三方包版本、位置
pip show xxx #查看指定的第三方包 pip list #查看所有的第三方包
- 更新第三方包版本
pip install xxx --upgrade

pip install xxx pip install xxx==2.9.0 #安装对应版本的第三方包
(xxx表示第三方包名,下同)
pip uninstall xxx
pip show xxx #查看指定的第三方包 pip list #查看所有的第三方包
pip install xxx --upgrade