解决访问anaconda官网超时问题
- 添加镜像
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/
conda config --set show_channel_urls yes
- 删除‘.condarc’文件中的–defaults
查看配置信息 输入命令:
conda config --show
- 安装TensorFlow
conda install tensorflow=1.15.0
或者
直接临时指定channel
conda install --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/ tensorflow=1.15.0