【问题标题】:Problems installing tensorflow on Windows 10在 Windows 10 上安装 TensorFlow 时出现问题
【发布时间】:2021-05-29 13:36:46
【问题描述】:

我一直在尝试使用 pip 在我的 Win10 机器上安装 TensorFlow,我以前从未遇到过使用 pip 的问题,但由于某种原因,当我使用 pip 版本 21.0.1 运行 pip install tensorflow 时,我收到以下错误

ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow

我尝试使用--user标签安装,但出现同样的问题,我从官网https://www.tensorflow.org/install得到安装命令,

如果有人知道是什么导致 pip 认为该软件包不存在,任何帮助表示赞赏。

【问题讨论】:

  • 你有哪个python版本?

标签: python tensorflow pip


【解决方案1】:

Tensorflow 仅支持 Python 3.5-3.8 版本。这可能会导致问题。 您可以在类似的帖子中阅读有关该错误的更多信息; Could not find a version that satisfies the requirement tensorflow

我建议您使用使用 Conda 创建的虚拟环境。 https://docs.anaconda.com/anaconda/install/windows/

如果您使用 Conda,您可以指定所需的 Python 版本、pip 库到该环境并在您的操作系统中的任何位置使用它。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-01-22
    • 2020-04-10
    • 1970-01-01
    • 2018-01-28
    • 2020-09-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多