【Python 镜像下载网址】
几个常用的国内 Python 镜像下载网址,可以加快 Python 安装包和相关工具的下载速度:
1. 清华大学镜像站
- Python 官方版本下载
https://mirrors.tuna.tsinghua.edu.cn/python/ - PyPI 镜像(pip 配置加速)
https://pypi.tuna.tsinghua.edu.cn/simple
2. 阿里云镜像站
- Python 官方版本下载
https://mirrors.aliyun.com/python/ - PyPI 镜像(pip 配置加速)
https://mirrors.aliyun.com/pypi/simple/
3. 中国科学技术大学镜像站(USTC)
- Python 官方版本下载
https://mirrors.ustc.edu.cn/python/ - PyPI 镜像(pip 配置加速)
https://pypi.mirrors.ustc.edu.cn/simple/
4. 腾讯云镜像站
- PyPI 镜像(pip 配置加速)
https://mirrors.cloud.tencent.com/pypi/simple
5. 华为云镜像站
- PyPI 镜像(pip 配置加速)
https://mirrors.huaweicloud.com/repository/pypi/simple/
使用方法:
1. 下载 Python 安装包
- 直接访问上述镜像站的 Python 官方版本目录(如清华大学、阿里云等),选择对应的版本和操作系统(如 Windows、Linux、macOS)下载安装包。
2. 配置 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