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

相关推荐
wanhengidc几秒前
云手机的硬件依赖性如何?
运维·服务器·智能手机·云计算
piaoroumi5 分钟前
UVC调试
linux·运维·前端
VekiSon12 分钟前
Linux系统编程——标准IO
linux·运维·服务器
Evan芙1 小时前
DNS服务器类型,解析答案,正反解析域,资源记录定义总结
运维·服务器
wanhengidc1 小时前
巨椰 云手机办公便利性高
运维·服务器·安全·智能手机·云计算
Saniffer_SH1 小时前
【每日一题】PCIe答疑 - 接大量 GPU 时主板不认设备或无法启动和MMIO的可能关系?
运维·服务器·网络·人工智能·驱动开发·fpga开发·硬件工程
爱宇阳1 小时前
Linux 安全加固:禁用 IPv4 ICMP 重定向发送
linux·运维·安全
Saniffer_SH1 小时前
【每日一题】讲讲PCIe链路训练和枚举的前后关系
运维·服务器·网络·数据库·驱动开发·fpga开发·硬件工程
阿豪学编程1 小时前
动静态库制作与原理
linux·个人开发
2401_861786181 小时前
linux修改ip地址(有详细步骤)kali
linux·运维·服务器