**
今天在学习pytorch的过程需要给jupyter安装conda栏目出现问题,在anaconda promot中输入conda install nb_conda时候
**
出现了如同上图的问题,是CondaHTTPError,上网查阅了资料后,发现是:
1.默认镜像源访问速度过慢,会导致超时从而导致更新和下载失败。
2.解决办法:更换镜像源为清华镜像源,并且删除默认镜像源。
3.1.首先执行如下几条命令更换清华镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
3.2.更改镜像源配置文件
在用户根目录(C:\Users\用户名)下找到.condarc文件,打开并并编辑,删除其中的default配置行。
安装成功。
打开jupyter之后也有了conda一栏,问题解决