简体   繁体   English

Tensorflow 安装错误:此平台上不支持轮子 - Python 3.6.7 - pip 20.0.2

[英]Tensorflow installation error: not a supported wheel on this platform - Python 3.6.7 - pip 20.0.2

I know this question has been asked a couple of times but I can't seem to find a proper answer.我知道这个问题已被问过几次,但我似乎找不到正确的答案。 I am trying to install tensorflow on my Windows x64 machine but keep on getting the error: ERROR: tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.我正在尝试在我的 Windows x64 机器上安装 tensorflow,但不断收到错误消息:错误:tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl 在此平台上不受支持。

I work with : - Python 3.6.7 - pip 20.0.2 - virtualenv 20.0.4我使用: - Python 3.6.7 - pip 20.0.2 - virtualenv 20.0.4

after activating the virtualenv: .\\venv\\Scripts\\activate激活 virtualenv 后:.\\venv\\Scripts\\activate

I try pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl我尝试pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl

for which I get: ERROR: tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.我得到:错误:tensorflow_cpu-2.1.0-cp36-cp36m-win_amd64.whl 不是这个平台上支持的轮子。

If anyone has ran on these issues, should I upgrade / downgrade any of these versions of Python, pip or virtualenv ?如果有人遇到过这些问题,我应该升级/降级 Python、pip 或 virtualenv 的任何这些版本吗?

If you have conda installed, I can help you.如果您安装了 conda,我可以帮助您。

Start with conda base shell (start menu -> Anaconda -> Anaconda prompt).从 conda base shell(开始菜单 -> Anaconda -> Anaconda prompt)开始。

1) create environment 1)创造环境

conda create --name tensorflow21_env

2) activate environment 2)激活环境

conda activate tensorflow21_env

3) install 3)安装

  1. conda install python=3.7

  2. pip install tensorflow-cpu #install tensorflow=2.1.0;

I worked with Python 3.7.6 and pip 20.0.2.我使用 Python 3.7.6 和 pip 20.0.2。

pip installed package: pip 安装包:

tensorflow_cpu-2.1.0-cp37-cp37m-win_amd64.whl

I hope it helps.我希望它有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 python / pip - 此平台不支持 whl - python / pip - whl is not a supported wheel on this platform Tensorflow 安装错误:__ is not a supported wheel on this platform - Tensorflow installing error: __ is not a supported wheel on this platform 在ubuntu 14.04(cuda 8.0,python2.7.6,pip 19.0.1)上使用pytorch for gpu安装错误 - 不支持滚轮 - pytorch for gpu installation error on ubuntu 14.04(cuda 8.0, python2.7.6, pip 19.0.1) - wheel not supported 割炬安装导致此平台上的车轮不受支持 - Torch installation results in not supported wheel on this platform 错误:(wheel).whl 在此平台上不受支持 - ERROR: (wheel).whl is not a supported wheel on this platform 无法使用 python3/pip 安装本地轮子(此平台上不支持轮子) - can't install local wheels with python3/pip (not a supported wheel on this platform) 错误:tensorflow_cpu-2.11.0-cp310-cp310-win_amd64.whl 在此平台上不受支持 - ERROR: tensorflow_cpu-2.11.0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform 错误“filename.whl 不是此平台上受支持的轮子” - Error "filename.whl is not a supported wheel on this platform" 错误“filename.whl 在此平台上不受支持 - Error "filename.whl is not a supported wheel on this platform 错误:file.whl 不是此平台上支持的轮子 - ERROR: file.whl is not a supported wheel on this platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM