ubuntu安装源问题

一、 清华大学开源软件镜像站
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

二、 python镜像源

1、临时配置

bash 复制代码
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
bash 复制代码
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U --trusted-host pypi.tuna.tsinghua.edu.cn
bash 复制代码
pip install paho-mqtt -i https://pypi.doubanio.com/simple
  1. 永久配置
bash 复制代码
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

三、 常见的Python 镜像源有哪些呢?

清华大学镜像源

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

8.2 阿里云镜像源

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

8.3 中国科技大学镜像源

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

8.4 豆瓣(Douban)镜像源

https://pypi.douban.com/simple/

8.5 华为云镜像源

https://mirrors.huaweicloud.com/repository/pypi/simple

相关推荐
Sheffield6 小时前
Alpine是什么,为什么是Docker首选?
linux·docker·容器
舒一笑1 天前
程序员效率神器:一文掌握 tmux(服务器开发必备工具)
运维·后端·程序员
Johny_Zhao1 天前
centos7安装部署openclaw
linux·人工智能·信息安全·云计算·yum源·系统运维·openclaw
haibindev1 天前
在 Windows+WSL2 上部署 OpenClaw AI员工的实践与踩坑
linux·wsl2·openclaw
NineData1 天前
数据库管理工具NineData,一年进化成为数万+开发者的首选数据库工具?
运维·数据结构·数据库
元Y亨H1 天前
华硕主机重装 Ubuntu 系统完全指南
ubuntu
梦想很大很大2 天前
拒绝“盲猜式”调优:在 Go Gin 项目中落地 OpenTelemetry 链路追踪
运维·后端·go
Sinclair2 天前
内网服务器离线安装 Nginx+PHP+MySQL 的方法
运维
叶落阁主2 天前
Tailscale 完全指南:从入门到私有 DERP 部署
运维·安全·远程工作