【问题标题】:Installing TensorFlow Ubuntu 18.04安装 TensorFlow Ubuntu 18.04
【发布时间】:2021-08-09 18:41:01
【问题描述】:

我正在尝试安装 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

在许多其他帖子中,解决方案是升级 pip 版本。但我的已经是 21.1.1 版本,我仍然无法在我的环境中安装 tensorflow..

我错过了什么?

【问题讨论】:

  • 您的 Python 版本是什么 (python -V)?你检查过这里tensorflow.org/install/pip的要求吗?
  • 是的,我符合要求。 Python 3.6.9、pip 21.1.1、Ubuntu 18.04。
  • 您使用的是虚拟环境吗? (您也应该在问题中添加更多信息:什么平台等)

标签: python tensorflow pip


【解决方案1】:

您可能使用的是 python3 而不是 python 2,如果是,请尝试:

pip3 install tensorflow

【讨论】:

【解决方案2】:

你可以试试这个

pip install ISR --no-deps

但是,您使用过 conda 吗?使用它来安装 Tensorflow 真的很容易。只是

 conda install Tensorflow

(如果您没有从here 安装它)

最好的问候,ykostov

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-04-09
    • 1970-01-01
    • 1970-01-01
    • 2021-12-01
    • 2019-04-03
    • 2019-10-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多