[Python]常用国内pip镜像源合集

以下为Python常用国内pip镜像源


阿里云:

https://mirrors.aliyun.com/pypi/simple/


百度:

 https://mirror.baidu.com/pypi/simple/


清华:

https://pypi.tuna.tsinghua.edu.cn/simple/


中科大:

 https://pypi.mirrors.ustc.edu.cn/simple/


豆瓣:

http://pypi.douban.com/simple/


搜狐:

http://mirrors.sohu.com/Python/


附百度百科pip词条:

pip 是一个现代的,通用的Python包管理工具。提供了对 Python 包的查找、下载、安装、卸载的功能。pip 已内置于 Python 3.4 和 2.7 及以上版本,其他版本需另行安装。

官方提供的pip 示例

$ pip install requests

$ pip search xml

$ pip show beautifulsoup4

$ pip uninstall requests

在windows系统中通cmd直接执行命令。

常见的命令

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 【 搜索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.)】

  • 9
    点赞
  • 40
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

雕雀桑

感谢支持

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值