我正在尝试在我的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.8
,pip 20.1.1
,并且我的PC正在运行64位Windows 10。
从tensorflow的网站,要求是:
谁都满意。
为什么会出现此错误?
编辑:仅使用pip install tensorflow
会出现以下错误:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
32 bit (Intel)
或类似名称,则它将是32位版本。要获得64位版本,请在此链接https://www.python.org/downloads/release/python-380/上向下滚动至“文件”,然后选择x86-64版本。