Whl file for tensorflow installation on windows

时间:2016-07-28 20:22:02

标签: tensorflow

I installed pip via get-pip.py script

$ python get-pip.py --proxy="proxy.intranet.com:8080"
Collecting pip
  Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 559kB/s
Collecting wheel
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
    100% |████████████████████████████████| 71kB 2.9MB/s
Installing collected packages: pip, wheel
Successfully installed pip-8.1.2 wheel-0.29.0

it worked fine. On upgrade, it seemed to be the latest version.

$ python -m pip install -U pip
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages

now, when I try to install tensorflow on windows using the below command, it doesn't work.

$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
**tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform**.

I tried to search a wheel file for windows, but couldn't find it. Anyone knows the locations to the whl file? Thanks in advance!

2 个答案:

答案 0 :(得分:2)

TensorFlow仅与64位兼容。确保Python安装不是32位。

答案 1 :(得分:1)

Windows上的TensorFlow为now available,版本为0.12以上。您可以使用以下命令从PyPI安装PIP包(对于仅CPU构建):

C:\> pip install tensorflow

...或以下命令,如果你有一个兼容CUDA 8.0的GPU:

C:\> pip install tensorflow-gpu