pip常用命令

来源:互联网 发布:竞价账户优化ppt 编辑:程序博客网 时间:2024/06/06 12:40


pip搜索、安装、更新、卸载python包命令


1. 安装

pip install 包名


2. 显示已安装包的信息

pip show 包名


3. 显示已安装包

pip list 


4. 更新

pip install --upgrade 包名


5. 卸载

pip uninstall 包名


6.搜索包

pip search 包名


更详细的命令,参看官方地址:https://pip.pypa.io/en/latest/reference/index.html

0 0