1.Anaconda prompt中创建 python3.6 版本的TensorFlow环境:
conda create -n tensorflow python=3.6
anaconda安装cpu版本的TensorFlow

2.activate tensorflow
anaconda安装cpu版本的TensorFlow
3.pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==2.0.0-rc
anaconda安装cpu版本的TensorFlow

4.测试:import tensorflow as tf
anaconda安装cpu版本的TensorFlow

相关文章: