【问题标题】:how to install tensorflow on python3.7 [duplicate]如何在python3.7上安装tensorflow [重复]
【发布时间】:2019-03-10 08:09:12
【问题描述】:

我试过这样的指令但失败了:

pip3 install -t /projects/****/users/****/python/3.7.0 --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.10.0-cp37-cp37m-linux_x86_64.whl

错误信息就是找不到网址。如果我将 cp37 之类的版本更改为 cp36,这也会失败,因为 python 的版本是 3.7。

如果我只是使用指令:

pip3 install -t /projects/****/users/****/python/3.7.0  tensorflow

会有这样的错误信息:

Cache entry deserialization failed, entry ignored
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

那么在python3.7上具体如何安装tensorflow呢?

我尝试了其他帖子中的说明,但没有一个有效。

【问题讨论】:

  • 您是否碰巧将您的帖子标题复制/粘贴到 Google 中?!
  • 我尝试了同样的指令:pip3 install --upgrade tensorflow。我仍然得到第二个错误。不知道为什么。

标签: python tensorflow installation


【解决方案1】:

Tensorflow 尚不支持 Python 3.7 (https://github.com/tensorflow/tensorflow/issues/17022)。

使用 Python 3.6。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-09-09
    • 2019-08-04
    • 2016-02-24
    • 2019-01-14
    • 1970-01-01
    • 1970-01-01
    • 2016-04-19
    相关资源
    最近更新 更多