【发布时间】:2017-04-09 19:29:19
【问题描述】:
我通过官方文档从https://www.tensorflow.org/install/install_windows 安装tensorflow,但我总是收到这个错误。
tensorflow-1.0.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
用于执行
“pip3 install tensorflow-1.0.1-cp35-cp35m-win_amd64.whl”
或
“pip install tensorflow-1.0.1-cp35-cp35m-win_amd64.whl”
我确实将 pip 更新到了 9.1,但我仍然得到了
"You are using pip version 8.1.1, however version 9.0.1 is available." 警告。
我有 Windows 7 64 位和 Python 2.7 和 3.5 都是 64 位。
附:我已经推荐了Installing tensorflow on windows,tensorflow installation problems
但他们无济于事。
附言:- 我执行了 pep425 tags 命令 & 我这些库:-
[('cp35', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp35', 'none',
any'), ('cp3', 'none', 'any'), ('cp34', 'none', 'any'), ('cp33', 'none', 'any')
('cp32', 'none', 'any'), ('cp31', 'none', 'any'), ('cp30', 'none', 'any'), ('py
35', 'none', 'any'), ('py3', 'none', 'any'), ('py34', 'none', 'any'), ('py33',
none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none
, 'any')]
【问题讨论】:
-
您是否尝试按照错误消息的提示运行
python -m pip install --upgrade pip? -
@AlexandrePassos 是的,我做到了
-
您升级的 pip 安装似乎没有被拾取。是否可以在不同的 python 版本上(2 vs 3)?
标签: python tensorflow pip