在Linux的终端中我们经常使用Conda 来安装新的库,有时我们也会添加Conda的源,久而久之当我们再用Conda install 安装新的软件时就会报出以下的错误:(解决方案见下述 四)
这里我将有关镜像源操作的指令做了如下整理:
一、如何查看现有的镜像源:
conda config --show channels
二、如何增加镜像源:
conda config --add channels https://pypi.mirrors.ustc.edu.cn/simple/
三、如何删除镜像源:
conda config --remove channels https://pypi.mirrors.ustc.edu.cn/simple/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/
( https://pypi.mirrors.ustc.edu.cn/simple/ 为 中国科技大学镜像源)
(https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/ 为 清华大学镜像源)
四、如何解决404问题(如何恢复系统默认镜像源):