常见国内镜像源地址

这篇博客汇总了常用的国内Python pip镜像源,包括清华大学、阿里云、中国科技大学、中国科学院以及Python官方的镜像地址,方便开发者快速稳定地安装Python包。
部署运行你感兴趣的模型镜像

常见的pip后面的镜像源地址:

	清华大学: https://pypi.tuna.tsinghua.edu.cn/simple/
	阿里云: http://mirrors.aliyun.com/pypi/simple/
	中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/
	中国科学院: http://pypi.mirrors.opencas.cn/simple/
	Python官方: https://pypi.python.org/simple

常见国内镜像源地址:

	https://mirrors.tuna.tsinghua.edu.cn/      清华源
	https://developer.aliyun.com/mirror/       阿里云源
	http://mirrors.163.com/ubuntu/               网易源
	https://mirrors.ustc.edu.cn/                     中科大源

参考博文:
常用镜像源地址小结

您可能感兴趣的与本文相关的镜像

Python3.10

Python3.10

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

不同的Linux发行版修改镜像源地址的方法有所不同,以下以常见的CentOS和Ubuntu为例介绍: ### CentOS系统 1. 备份原有的镜像源配置文件: ```bash mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup ``` 2. 下载阿里云的镜像源配置文件: ```bash wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo ``` 如果是CentOS 8,可使用以下命令: ```bash wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo ``` 3. 清理缓存并生成新的缓存: ```bash yum clean all yum makecache ``` ### Ubuntu系统 1. 备份原有的镜像源配置文件: ```bash sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup ``` 2. 编辑`/etc/apt/sources.list`文件,将内容替换为清华大学的镜像源配置: ```plaintext deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse ``` 可以使用`nano`或`vim`等编辑器进行修改,例如: ```bash sudo nano /etc/apt/sources.list ``` 3. 更新软件包列表: ```bash sudo apt update ``` ### Kali Linux系统 将Kali Linux的软件源地址更换为国内的镜像源,通常可加快软件的下载速度和系统的更新效率。操作时需确保仔细检查每一步是否正确无误,并且网络连接正常,如果问题依旧存在,可以参考社区论坛或相关文档获取进一步帮助 [^1]。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值