-
下载anaconda3
-
进入cmd
-
输入清华镜像下载。
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
- 创建python3.7环境
conda create -n tensorflow python=3.7
- 启动tensorflow环境
activate tensorflow
- 安装cpu版本的TensorFlow
pip install --upgrade --ignore-installed tensorflow
- 测试tensorflow
import tensorflow as tf