Anaconda历史版本以及镜像源整理

Anaconda镜像源整理与使用 常用镜像源Conda源Pypi源 镜像源使用指令解决CondaHTTPError: HTTP 000 CONNECTION FAILED…问题

常用镜像源

新版的Ubuntu要求使用https源

Conda源

anaconda的国内镜像源,主要用来加快使用conda下载安装python环境的速度

清华镜像:

https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64

中科大镜像:

https://mirrors.ustc.edu.cn/anaconda/pkgs/main(已无效,链接指向北外镜像库)
https://mirrors.ustc.edu.cn/anaconda/pkgs/free(已无效,链接指向北外镜像库)

北京外国语大学镜像:

https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
https://mirrors.bfsu.edu.cn/anaconda/pkgs/free
https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/linux-64
https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/win-64

阿里云镜像:
https://mirrors.aliyun.com/anaconda/pkgs/main
https://mirrors.aliyun.com/anaconda/pkgs/free
https://mirrors.aliyun.com/anaconda/pkgs/main/linux-64
https://mirrors.aliyun.com/anaconda/pkgs/main/win-64

Pypi源

Pypi的国内镜像源,主要用来加快pip下载安装第三方库的速度

清华镜像:https://pypi.tuna.tsinghua.edu.cn/simple
中科大镜像:https://pypi.mirrors.ustc.edu.cn/simple/
阿里云镜像:https://mirrors.aliyun.com/pypi/simple
华中理工大学镜像:https://pypi.hustunique.com/
山东理工大学镜像:https://pypi.sdutlinux.org/
豆瓣镜像:https://pypi.douban.com/simple/


anaconda 历史版本信息

Old package lists — Anaconda documentation

anaconda 历史版本下载

old downloand
清华镜像站:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

anaconda对应python版本信息

conda version - python version

  • 5
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
要配置 Anaconda 和 pip 的镜像源,可以按照以下步骤进行操作: 配置 Anaconda 镜像源: 1. 打开 Anaconda Prompt(或者在命令行中运行 Anaconda 相关命令)。 2. 输入以下命令,添加清华大学的 Anaconda 镜像源: ``` conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes ``` 或者,你可以添加其他镜像源,例如中科大镜像源: ``` conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes ``` 3. 配置完成后,可以使用 `conda install` 命令安装包时,Anaconda 将从镜像源下载。 配置 pip 镜像源: 1. 打开命令提示符或终端。 2. 创建或编辑 pip 的配置文件 `pip.ini`(Windows)或 `pip.conf`(Linux/macOS)。 - 对于 Windows 用户,在用户目录下创建一个名为 `pip.ini` 的文件(如果已存在则编辑它)。 - 对于 Linux/macOS 用户,在用户目录下创建一个名为 `pip.conf` 的文件(如果已存在则编辑它)。 3. 在配置文件中添加以下内容,以使用清华大学的 pip 镜像源: ``` [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple/ ``` 或者,你可以使用其他镜像源,例如中科大镜像源: ``` [global] index-url = https://mirrors.ustc.edu.cn/pypi/web/simple ``` 4. 保存配置文件。 配置完成后,你可以使用 `pip install` 命令安装包时,pip 将从镜像源下载。请注意,镜像源可能会有延迟或不同步的情况,如果遇到问题,可以尝试切换到其他镜像源或等待一段时间再试。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一年又半

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值