本篇是不需要下载acaconda,直接通过Python 的 pip进行安装tensorflow 2.7.0(CPU版)
首先默认您已经装好pip安装包的前提下,进行如下操作:
1:Win + R 打开Windows系统的运行窗口;
2:输入 cmd 后 按下 “Enter” 键 打开Windows系统的命令窗口;
3:输入下面这行命令,永久设置pip下载源为国内源:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
4:输入下面这行命令,进行安装tensorflow 2.7.0:
pip install -i https://pypi.doubanio.com/simple tensorflow==2.7 Keras==2.7.0rc0