Python pip 命令解析

Python pip命令解析

pip用于安装卸载维护Python各种包
安装Python时默认安装了Pip,如果在cmd下无法使用pip,则可能是没有将其所在目录添加至环境变量Path中。
pip show pip 查看pip版本
python -m pip install --upgrade pip 升级pip
pip list 查看已经安装的包
pip install +包名 安装各种包
pip install --upgrade +包名 升级各种包
pip uninstall +包名 卸载各种包
pip -h pip帮助文件

pip --help

Usage:
pip [options]

Commands:
install Install packages. 安装包
download Download packages. 下载包
uninstall Uninstall packages. 卸载包
freeze Output installed packages in requirements format. 按着一定格式输出已安装包列表
list List installed packages. 列出已安装包
show Show information about installed packages. 显示包详细信息
check Verify installed packages have compatible dependencies.检查包的依赖关系是否完整
config Manage local and global configuration.管理配置
search Search PyPI for packages.搜索包
wheel Build wheels from your requirements.
hash Compute hashes of package archives.计算包的hash值
completion A helper command used for command completion.
help Show help for commands.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值