更改conda安装源镜像

为了更好安装包需要制定conda安装包所使用的镜像为中国的镜像,目前为止只有一家提供了镜像

执行conda命令:

conda config

会创建conda的配置文件,使用search everything 查找  .condarc  并打开,在里面添加

channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults
show_channel_urls: true

参考:

CSDN的一篇博客

原文地址:https://www.cnblogs.com/wybert/p/6011766.html