我正在尝试在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:
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