1.管理员身份运行Anaconda Prompt
2.1 CPU版本
输入:pip install -U tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
安装完后,在 Spyder-IPython console 中输入“import tensorflow as tf ”命令即可验证 CPU 版本是否安装成功。继续输入“tf.version”查看安装版本。
2.2 GPU版本
pip install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
相关文章: