Python:利用国内镜像安装pip依赖包
安装命令
临时命令
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple <package-name>
永久配置
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
镜像源
序号 | 镜像名称 | 镜像地址 |
---|---|---|
1 | 清华大学镜像站 | https://pypi.tuna.tsinghua.edu.cn/simple |
2 | 阿里云镜像站 | https://mirrors.aliyun.com/pypi/simple |
3 | 中科大镜像站 | https://pypi.mirrors.ustc.edu.cn/simple |
4 | 中国科技大学镜像站 | https://pypi.mirrors.ustc.edu.cn/simple |
5 | 中国科学技术大学镜像站 | https://pypi.mirrors.ustc.edu.cn/simple |
6 | 华中科技大学镜像站 | https://pypi.hustunique.com |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】博客园的心动:当一群程序员决定开源共建一个真诚相亲平台
【推荐】Flutter适配HarmonyOS 5知识地图,实战解析+高频避坑指南
【推荐】凌霞软件回馈社区,携手博客园推出1Panel与Halo联合终身会员
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步