Windows10 安装tensorflow2.2.0 CPU版本
因为电脑没有独立显卡,所以只能安装CPU版本的tensorflow了
1.安装Anaconda
Anaconda官方链接
勾上添加到环境
2.安装tensorflow
环境都是Anaconda里面的python版本
pip也是
pip install -U tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
安装成功
3.验证是否安装成功
终端输入
ipython
import as tensorflow as tf
tf.__version__
输入exit()
退出
如下图
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