找不到满足张量流要求的版本 [英] Could not find a version that satisfies the requirement tensorflow

查看:44
本文介绍了找不到满足张量流要求的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了最新版本的 Python (3.6.4 64-bit) 和最新版本的 PyCharm (2017.3.3 64-bit).然后我在 PyCharm 中安装了一些模块(Numpy、Pandas 等),但是当我尝试安装 Tensorflow 时它没有安装,我收到错误消息:

I installed the latest version of Python (3.6.4 64-bit) and the latest version of PyCharm (2017.3.3 64-bit). Then I installed some modules in PyCharm (Numpy, Pandas, etc), but when I tried installing Tensorflow it didn't install, and I got the error message:

找不到满足 TensorFlow 要求的版本(来自版本:)找不到 TensorFlow 的匹配分布.

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

然后我尝试从命令提示符安装 TensorFlow,但我收到了相同的错误消息.然而,我确实成功安装了 tflearn.

Then I tried installing TensorFlow from the command prompt and I got the same error message. I did however successfully install tflearn.

我还安装了 Python 2.7,但我再次收到相同的错误消息.我用谷歌搜索错误并尝试了一些向其他人建议的东西,但没有任何效果(包括安装 Flask).

I also installed Python 2.7, but I got the same error message again. I googled the error and tried some of the things which were suggested to other people, but nothing worked (this included installing Flask).

如何安装 Tensorflow?谢谢.

How can I install Tensorflow? Thanks.

推荐答案

截至 2020 年 10 月:

As of October 2020:

  • Tensorflow 仅支持 64 位版本的 Python

  • Tensorflow only supports the 64-bit version of Python

Tensorflow 仅支持 Python 3.5 到 3.8

Tensorflow only supports Python 3.5 to 3.8

因此,如果您使用的是超出范围的 Python 版本(较旧或较新)或 32 位版本,则需要使用不同的版本.

So, if you're using an out-of-range version of Python (older or newer) or a 32-bit version, then you'll need to use a different version.

这篇关于找不到满足张量流要求的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆