【问题标题】:Issues while installing tensorflow for Python 3.7 in Mac在 Mac 中为 Python 3.7 安装 tensorflow 时出现问题
【发布时间】:2018-10-01 05:39:24
【问题描述】:

我正在使用安装了 python3.7.0 的 macOS Sierra(在 GPU 支持上)。 每当我尝试使用以下命令安装 tensorflow 时,

pip3 install tensorflow

我遇到以下问题:

  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow.

欢迎任何帮助或建议。

【问题讨论】:

  • 在某些时候,我一直在为 TensorFlow + macOS 的所有依赖项苦苦挣扎,我决定跳入 VM。它更容易、更快、更直接。我用过 VirtualBox + Ubuntu。
  • 尝试通过你要安装tensorflow的python版本显式调用pip:pythonX.Y -m pip install --user tensorflow

标签: python-3.x tensorflow macos-sierra


【解决方案1】:

Tensorflow 尚不支持 Python 3.7。使用 Python 3.6。见https://github.com/tensorflow/tensorflow/issues/17022。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-02-18
    • 2019-04-26
    • 1970-01-01
    相关资源
    最近更新 更多