conda创建虚拟环境安装tensorflow

选择源anaconda/tensorflow-gpu并安装指定版本1.4.1

1)可以执行以下命令查看该源的安装信息:

anaconda show anaconda/tensorflow-gpu

[root@localhost tf-openpose]# `anaconda show anaconda/tensorflow-gpu
Using Anaconda API: https://api.anaconda.org
Name: tensorflow-gpu
Summary: TensorFlow is a machine learning library.
Access: public
Package Types: conda
Versions:

  • 1.0.1
  • 1.1.0
  • 1.2.1
  • 1.3.0
  • 1.4.1

To install this package with conda run:
conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu

2)执行以下命令安装tensorflow-gpu 1.4.1版本

conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu=1.4.1

[root@localhost tf-openpose]#conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu=1.4.1

你可能感兴趣的:(conda创建虚拟环境安装tensorflow)