什么是pip

pip 是 Python 中的标准库管理器。它允许你安装和管理不属于 Python标准库 的其它软件包。

官方提供的pip 示例
$ pip install requests
$ pip search xml
$ pip show beautifulsoup4
$ pip uninstall requests

通过cmd可以使用

Usage:
pip <command> [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 【 搜索PyPI查找包 (Search PyPI for packages.)】
wheel 【 根据您的需求构建轮子 (Build wheels from your requirements.)】
hash 【 包存档的哈希计算哈希 ( Compute hashes of package archives.)】
completion 【 用于命令完成的辅助命令 ( A helper command used for command completion.)】
debug 【 显示对调试有用的信息 ( Show information useful for debugging.)】
help 【 帮助显示命令的帮助 (Show help for commands.)】

由于直接pip下载速度过慢,往往可以在清华镜像进行下载

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值