conda/miniconda 安装tensorflow(GPU) 1.15.2
查看镜像源
conda config --show-sources
1.添加镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
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/cloud/msys2/
conda config --set show_channel_urls yes #设置搜索时显示通道地址
2.创建虚拟环境
conda create --name test python=3.6 -y
3.激活虚拟环境
conda activate test
4.安装tensorflow 1.15.2
pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade tensorflow-gpu==1.15.2
卸载tensorflow
pip uninstall tensorflow-gpu==1.15.2