官网下载Anaconda(安装时注意添加环境变量):

https://www.anaconda.com/download/

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

安装完后cmd检查python版本:

 TensorFlow安装流程 随笔 第1张

cmd命令(更改镜像,加速下载):

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --set show_channel_urls yes

cmd命令(创建TensorFlow位置):

conda create -n tensorflow python=选择你的python版本

 如果已配好,可以anaconda选择环境:

TensorFlow安装流程 随笔 第2张

 打开anaconda prompt,输入命令:

 TensorFlow安装流程 随笔 第3张

activate tensorflow

TensorFlow安装流程 随笔 第4张

 安装CPU版:

pip install --upgrade --ignore-installed tensorflow

如果需要安装GPU版:

conda create -n tensorflowGPU python=你的python版本
conda install tensorflow-gpu
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄