conda换回默认源

conda 换回默认源

报错信息:

1
Collecting package metadata: failed
2
3
UnavailableInvalidChannel: The channel is not accessible or is invalid.
4
  channel name: anaconda/pkgs/free
5
  channel url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
6
  error code: 404
7
8
You will need to adjust your conda configuration to proceed.
9
Use `conda config --show channels` to view your configuration's current state,
10
and use `conda config --show-sources` to view config file locations.

清华镜像居然404了, 那就只好换回默认源先了.

1
conda config --remove-key channels