Windows 上的 TensorFlow:“此平台上不支持轮子";错误 [英] TensorFlow on Windows: "not a supported wheel on this platform" error

查看:39
本文介绍了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).

这篇关于Windows 上的 TensorFlow:“此平台上不支持轮子";错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆