Windows 上的 TensorFlow:“此平台上不支持轮子";错误

问题描述:

很高兴得知 Tensorflow 可用于 Windows,而我们不必使用 Docker.

Was happy to know Tensorflow is made available for Windows and we don't have to use Docker.

我尝试按照说明进行安装,但出现此错误.

I tried to install as per instructions but I get this error.

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whltensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl 不是该平台支持的轮子.

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

这个错误是什么意思?

我正在运行最新版本的 Python.

I am running latest version of Python.

python --versionPython 3.5.2

python --version Python 3.5.2

这很可能是 64 位与 32 位的问题.预先构建的 TensorFlow pip 包只有 64 位,但 Python.org 上 Python 3.5.2 的默认版本是 32 位.您可以从 此处 下载 64 位版本(选择"Windows x86-64" 选项).

This is most likely to be a 64-bit versus 32-bit issue. The pre-built TensorFlow pip package is 64-bit only, but the default version of Python 3.5.2 on Python.org is 32-bit. You can download the 64-bit release from here (select one of the "Windows x86-64" options).