创建TensorFlow环境报错:If your current network has https://www.anaconda.com blocked

  1. 问题描述在Anaconda Prompt(Anaconda3)中,创建TensorFlow环境时报错如下:创建TensorFlow环境报错:If your current network has https://www.anaconda.com blocked
  2. 报错原因添加了其他国内的镜像源,导致把默认的镜像源换掉了,所以就连接不上图中显示的镜像源网址了。
  3. 解决方法:换回默认源:conda config --remove-key channels创建TensorFlow环境报错:If your current network has https://www.anaconda.com blocked 这样就可以连接到默认的镜像源,输入配置TensorFlow环境命令:conda create --name tensorflow-gpu python=3.6  就可以安装了。
  4.