我正在尝试 在 Windows 上安装 TensorFlow 。
我尝试使用 pip
安装它,但我总是收到相同的错误消息:
... is not a supported wheel on this platform.
我首先尝试使用 Python 3.5.1,现在升级到 3.6.0b4 ,但没有任何区别。
Python:
Python 3.6.0b4 (default, Nov 22 2016, 05:30:12) [MSC v.1900 64 bit (AMD64)] on win32
点:
pip 9.0.1 from ...\python\lib\site-packages (python 3.6)
确切地说,我尝试了以下两个命令:
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-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.
> tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
有谁知道如何解决这个问题?我不确定我在哪里犯了错误。
谢谢!
编辑 1
顺便说一句,我也试过 pip install tensorflow
和 pip install tensorflow-gpu
就像 这里 建议的那样。我得到以下输出:
> Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow
> Could not find a version that satisfies the requirement tensorflow-gpu (from versions: ) No matching distribution found for tensorflow-gpu
原文由 товіаѕ 发布,翻译遵循 CC BY-SA 4.0 许可协议
更新 15.11.2017
似乎现在它正在像人们期望的那样工作。使用以下
pip
和python
版本运行以下命令应该有效。使用 Python 3.6.x 安装
版本
安装命令
以下命令基于 此处 的以下安装指南。
使用命令
使用蟒蛇
附加信息
可以在 此处 找到常见安装问题的列表。
您可以 在此处 找到成功安装 tensorflow cpu 的示例控制台输出。
_旧回应_:
可以结束了;使用版本 3.5.2 !
3.5.1 和 3.6.x 目前似乎都不起作用。
版本:
命令: