1、安装

如果是安装CPU模式的tensorflow,只要输入一下代码就可以了

pip3 install tensorflow          #python3
pip install tensorflow #python2

 下面是gpu模式的安装过程

create a conda environment called tensorflow:

# Python 2.7
$ conda create -n tensorflow python=2.7

# Python 3.4
$ conda create -n tensorflow python=3.4

# Python 3.5
$ conda create -n tensorflow python=3.5

 激活这个tensorflow环境

source activate tensorflow

 

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-04-18
  • 2021-04-07
  • 2022-12-23
  • 2021-09-14
  • 2021-06-15
  • 2021-04-05
猜你喜欢
  • 2022-01-01
  • 2021-04-06
  • 2021-06-12
  • 2021-12-03
  • 2021-08-24
  • 2022-01-01
  • 2021-09-11
相关资源
相似解决方案