【问题标题】:ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (Windows Terminal)错误:找不到满足要求的版本 tensorflow==1.15(Windows 终端)
【发布时间】:2022-08-05 12:19:51
【问题描述】:

Instructions from Supervisor 我对 Python 和 BashCode 很陌生。我的主管希望我从 GitHub 存储库运行代码。我已经从 GitHub 克隆了存储库。现在他要求创建一个安装了 anaconda 软件包的虚拟环境。我下载了 Miniconda 并使用 conda 命令(该命令在附加图像上)。现在,下一步是执行以下命令:存储库中的“pip install -r requirements.txt”。我试过了,但我收到标题中的错误。我试过 \"pip install tensorflow==1.15\" 但这不起作用。我很困惑该怎么做。谢谢你。我正在使用 Windows 终端

  • Tensorflow 只支持 Python 3.5 到 3.8,你的 python 版本是多少?
  • 蟒蛇 3.10.4。如果这是问题所在,我尝试使用 python 3.7 创建一个虚拟环境,但仍然无法正常工作。你推荐下载早期版本的python吗?
  • 并使用 pip3 代替 pip
  • 我看不出这个问题与 bash 有什么关系,所以我会删除 bash-tag。如果您认为不同,您至少应该 - 因为您在 Windows 上 - 指定您正在使用的版本的实现(即 WSL、Cygwin、git-bash ......)

标签: python bash tensorflow terminal conda


【解决方案1】:

要安装 TensorFlow 1.15,Python 版本应为 3.5-3.7。 Python 3.10 仅支持最新的 tensorflow 版本 Tensorflow version = 2.8, 2.9

install Python 3.7 版本,它支持几乎所有的 tensorflow 版本(>Tensorflow 1.13)。

您可以参考此tested build configuration 详细信息以获取更多详细信息。

【讨论】:

    猜你喜欢
    • 2021-04-21
    • 1970-01-01
    • 2018-07-21
    • 2017-07-08
    • 2020-07-24
    • 2018-02-09
    • 2021-03-12
    • 2021-06-04
    相关资源
    最近更新 更多