亲测Tensorflow-cpu 2.x安装,Jupyter notebook可运行
成功案例:python=3.7装tensorflow-cpu=2.3.1
具体操作:pip install -U tensorflow-cpu -i https://pypi.tuna.tsinghua.edu.cn/simple
1. 创建环境
conda create -n tensorflow2 python=3.7
2. 进入环境
activate tensorflow2

3. 安装tensorflow-cpu 2.3.0版
pip install tensorflow-cpu==2.3.0 -i https://pypi.douban.com/simple/
**注意pip不能换成conda**

4. 测试是否成功
python
import tensorflow as tf
tf.__version__
注意上面的横线,一边两个下划线

最低0.47元/天 解锁文章
2952





