将Tensorflow安装到conda虚拟环境

时间:2017-10-26 07:07:55

标签: python tensorflow virtualenv conda

我已经从源代码编译了tensorflow。我是轮文件(/tmp/tensorflow_pkg//tmp/tensorflow_pkg/tensorflow-1.3.0-cp27-cp27mu-linux_x86_64.whl)。我想要做的是将此wheel文件安装到特定的conda虚拟环境 到目前为止我所做的一切 1. Installing using pip激活虚拟环境后  但是这会为所有环境安装包 2.使用以下命令安装

conda install -n env_name /tmp/tensorflow_pkg/tensorflow-1.3.0-cp27-cp27mu-linux_x86_64.whl

但我收到以下错误。

 Fetching package metadata ...........

PackageNotFoundError: Packages missing in current channels:

  - /tmp/tensorflow_pkg/tensorflow-1.3.0-cp27-cp27mu-linux_x86_64.whl

We have searched for the packages in the following channels:

  - https://repo.continuum.io/pkgs/main/linux-64
  - https://repo.continuum.io/pkgs/main/noarch
  - https://repo.continuum.io/pkgs/free/linux-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/linux-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/linux-64
  - https://repo.continuum.io/pkgs/pro/noarch

如何将轮组件安装到conda环境中。

0 个答案:

没有答案