解决You will need to adjust your conda configuration to proceed.Use `conda config --show channels` to

在anaconda中安装pytorch框架时遇到的问题:

出现以下的原因就是你当前设定的镜像源已经不支持该包了,所以需要重新设定

解决You will need to adjust your conda configuration to proceed.Use `conda config --show channels` to_第1张图片

  • 先移除默认的源:

  •  查看源:

  • 创建虚拟环境:
(base) C:\Users\Lenovo>conda create -n pytorch python=3.9

解决You will need to adjust your conda configuration to proceed.Use `conda config --show channels` to_第2张图片

 然后点yes安装就好,下图是安装成功的截图。 然后进行激活环境就行了。

解决You will need to adjust your conda configuration to proceed.Use `conda config --show channels` to_第3张图片

你可能感兴趣的:(深度学习,conda,python,linux)