【发布时间】:2021-05-05 17:31:13
【问题描述】:
我正在尝试在 python 3.9(64 位)中调用简单的 keras.Sequential() 模型,但是当尝试使用 pip 安装 tensorflow 时,我收到以下错误:
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow
堆积此错误后,我遵循了此修复程序:TensorFlow not found using pip 并尝试使用以下命令使用最新版本的仅 CPU 窗口轮:
install python -m pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.4.0-cp38-cp38-win_amd64.whl
然后我得到以下错误:
ERROR: tensorflow_cpu-2.4.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
我能找到的唯一答案是: Tensorflow installation error: not a supported wheel on this platform
但答案与python2.7 相关,不适用于这种情况。
有没有人能帮助理解为什么我发现安装tensorflow 如此困难。
谢谢。
【问题讨论】:
-
请将您的python版本降级为3.8或以下
标签: python tensorflow