Windows10 安装tensorflow2.2.0 CPU版本

Windows10 安装tensorflow2.2.0 CPU版本
因为电脑没有独立显卡,所以只能安装CPU版本的tensorflow了

1.安装Anaconda
Anaconda官方链接

勾上添加到环境
Windows10 安装tensorflow2.2.0 CPU版本_第1张图片
2.安装tensorflow
环境都是Anaconda里面的python版本
pip也是

pip install -U tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple

安装成功
Windows10 安装tensorflow2.2.0 CPU版本_第2张图片
3.验证是否安装成功
终端输入

ipython
import as tensorflow as tf
tf.__version__

输入exit() 退出

如下图
Windows10 安装tensorflow2.2.0 CPU版本_第3张图片
4.安装常用的python 库文件

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn -U ipython numpy matplotlib pillow pandas

比绿流

你可能感兴趣的:(tensorflow)