pip install tensorflow 10rc.0失败 - 关于不存在的easy-install.pth文件的消息?

时间:2016-08-01 22:42:12

标签: tensorflow

我无法安装tensorflow 10rc.0,我收到错误,可能是来自pip,提示安装假设有一个easy_install.pth文件,但我没有。这是张量流中的错误吗?我正在使用pip安装到新的conda环境中,因为其他大多数都是conda包,我想不需要easy_install.pth文件。我想我需要轻松安装一些东西,或者制作一个虚拟的easy_install.pth文件。

下面的血腥细节:

$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl

(psreldev) psel701: /reg/g/psdm/sw/conda/inst $ pip install --upgrade $TF_BINARY_URL

Collecting tensorflow==0.10.0rc0 from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl

  Downloading https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl (33.3MB)

    100% |################################| 33.3MB 20kB/s 
Requirement already up-to-date: numpy>=1.8.2 in ./miniconda2-mlearn/lib/python2.7/site-packages (from tensorflow==0.10.0rc0)

Collecting mock>=2.0.0 (from tensorflow==0.10.0rc0)
  Downloading mock-2.0.0-py2.py3-none-any.whl (56kB)

    100% |################################| 61kB 1.5MB/s 
Collecting protobuf==3.0.0b2 (from tensorflow==0.10.0rc0)
  Using cached protobuf-3.0.0b2-py2.py3-none-any.whl
Requirement already up-to-date: wheel in ./miniconda2-mlearn/lib/python2.7/site-packages (from tensorflow==0.10.0rc0)
Requirement already up-to-date: six>=1.10.0 in ./miniconda2-mlearn/lib/python2.7/site-packages (from tensorflow==0.10.0rc0)
Collecting funcsigs>=1; python_version < "3.3" (from mock>=2.0.0->tensorflow==0.10.0rc0)
  Downloading funcsigs-1.0.2-py2.py3-none-any.whl
Collecting pbr>=0.11 (from mock>=2.0.0->tensorflow==0.10.0rc0)
  Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB)
    100% |################################| 102kB 1.2MB/s 
Collecting setuptools (from protobuf==3.0.0b2->tensorflow==0.10.0rc0)
  Downloading setuptools-25.1.1-py2.py3-none-any.whl (442kB)
    100% |################################| 450kB 1.1MB/s 
Installing collected packages: funcsigs, pbr, mock, setuptools, protobuf, tensorflow

  Found existing installation: setuptools 23.0.0
Cannot remove entries from nonexistent file /reg/g/psdm/sw/conda/inst/miniconda2-mlearn/lib/python2.7/site-packages/easy-install.pth

1 个答案:

答案 0 :(得分:2)

来自Tensor Flow的文件 -

如果使用pip,请确保使用@Html.ActionLink("Skapa konto", "Register", "", new { @class = "loginfront" }) 标志来防止有关easy_install的错误。