conda安装或者更新的时候遇到 condan solving environment failed

conda安装或者更新的时候遇到 condan solving environment failed

condaHTTPerror: HTTP 000……错误:

往往是安装源的问题,运行如下代码重置源可以解决:

conda config --remove-key channels

之后需要清华源,中科大源等可以再设置

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

猜你喜欢

转载自blog.csdn.net/zjh12312311/article/details/121810373
今日推荐