几个常用的国内 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

Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐