首先,建议在anaconda中创建虚拟环境,教程已写,参考上一篇

 

下载之前建议设置pip清华源(用以提速,可百度)

设置下载源    pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

pip install tensorflow-gpu==1.4.0  

pip install tensorflow   (默认安装cpu版本)

 

安装完成后,

命令行中,敲击 python,回车

import tensorflow,回车

print(tf.__version__)    #打印当前tensorflow版本

相关文章:

  • 2021-04-09
  • 2021-10-14
  • 2022-02-01
  • 2021-12-09
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-12-27
  • 2022-12-23
  • 2021-06-11
  • 2021-12-01
  • 2022-01-08
相关资源
相似解决方案