1、打开anaconda prompt
2、
方法一:
输入下面代码块
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
方法二:
pip install --index-url https://pypi.douban.com/simple tensorflow-gpu==1.10.0
总结:
我采用第一种方法依然下载很慢,第二种下载很快