Tensorflow安装错误:此平台上不支持__的车轮

问题描述 投票:0回答:1

我正在尝试在我的PC上安装tensorflow,但我不断收到错误消息。

我已经看到许多关于tensorflow在线安装错误的帖子,但是我发现的只是解决方案,说明python版本不兼容。但是,我使用的是python 3.8,而我使用的是tensorflow网站上提供的python 3.8的URL,所以我不认为这可能是问题所在。

我正在使用的命令:

python -m pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.2.0-cp38-cp38-win_amd64.whl

我得到的错误:

ERROR: tensorflow_cpu-2.2.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.

我正在使用python 3.8pip 20.1.1,并且我的PC正在运行64位Windows 10。

从tensorflow的网站,要求是:

  • Python 3.5-3.8
  • 点19.0或更高版本
  • Windows 7或更高版本

谁都满意。

为什么会出现此错误?

编辑:仅使用pip install tensorflow会出现以下错误:

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
python python-3.x tensorflow pip
1个回答
0
投票
[您可能使用的是python 3.8的32位版本,而不是64位版本。您可以通过打开解释器并查看第一行来进行检查。如果它具有32 bit (Intel)或类似名称,则它将是32位版本。要获得64位版本,请在此链接https://www.python.org/downloads/release/python-380/上向下滚动至“文件”,然后选择x86-64版本。
© www.soinside.com 2019 - 2024. All rights reserved.