1. 安装Anaconda
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
conda info来查询安装信息
conda list可以查询你现在安装了哪些库
2. cpu版的tensorflow
pip install --upgrade --ignore-installed tensorflow
测试是否成功
python import tensorflow as tf hello=tf.constant("Hello!") sess=tf.Session() print(sess.run(hello))
3. 安装keras
pip install keras -U --pre
扫描二维码关注公众号,回复:
111045 查看本文章
测试:import keras