简体   繁体   English

找不到满足张量流要求的版本(来自版本:)没有找到张量流的匹配分布

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

While installing TensorFlow for my pc the following error appeared为我的电脑安装 TensorFlow 时出现以下错误

Could not find a version that satisfies the requirement TensorFlow (from versions:) No matching distribution found for TensorFlow找不到满足 TensorFlow 要求的版本(来自版本:)未找到与 TensorFlow 匹配的发行版

I have a 64-bit Widows operating system.我有一个 64 位的 Widows 操作系统。 And Python 3.7.0 64-bit.和 Python 3.7.0 64 位。 I already updated my pip from version 10.0 to 18.0 still error remains the same.我已经将 pip 从 10.0 版更新到 18.0 版,但错误仍然相同。

Try with Python 3.6尝试使用Python 3.6

From tensorflow , It doesn't show support for Python 3.7 yet.tensorflow 来看,它还没有显示对Python 3.7支持。 So maybe that's the issue.所以也许这就是问题所在。 Although Python 3.7 has been released there are some Issues regarding the import because of the async variable, And even this thread shows the same solution.尽管 Python 3.7 已发布,但由于async变量存在一些有关导入的问题,甚至此线程也显示了相同的解决方案。 Is python 3.7.x supported with Tensorflow . Tensorflow 是否支持 python 3.7.x。 So suggest you downgrade to Python 3.6 (64bit) and try again.所以建议您降级到Python 3.6 (64bit)试。

Anaconda可以使您轻松使用,它可以跟踪所有小细节,您只需要在anaconda提示符下键入pip install tensorflow即可,您会得到很好的https://www.anaconda.com/download/使用python 3.6

Refer the link for TensorFlow supported version for python请参阅 TensorFlow 支持的 Python 版本的链接

https://www.tensorflow.org/install/pip

upgrade pip to version 20将 pip 升级到版本 20

C:\>pip --version
pip 20.0.2 from c:\python37_64\lib\site-packages\pip (python 3.7)

then execute the following command然后执行以下命令

C:\>pip install https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-win_amd64.whl

or或者

C:\>pip install tensorflow

Then check for the packages installed然后检查安装的包

C:\>pip list

If you get this error:如果您收到此错误:

ERROR: Could not find a version that satisfies the requirement tensorflow== (from versions: 0.12.1, ...) ERROR: No matching distribution found for tensorflow==错误:找不到满足 tensorflow== 要求的版本(来自版本:0.12.1,...) 错误:未找到与 tensorflow== 匹配的分布

Check your comment.检查您的评论。 If there is a space between '==' and TensorFlow version, you will get an error.如果 '==' 和 TensorFlow 版本之间有空格,你会得到一个错误。 Below you can see an example for installing Tensorflow 1.15.您可以在下面看到安装 Tensorflow 1.15 的示例。 Wrong one:错误一:

pip install tensorflow== 1.5

Correct one:正确一:

pip install tensorflow==1.15

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:找不到满足 tensorflow 要求的版本(来自版本:无)错误:没有找到 tensorflow 的匹配分布) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow) Mac using:Could not find a version that satisfied the tensorflow (from versions:) No matching distribution found for tensorflow - Mac using:Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow 找不到满足tensorflow> = 1.7.0的版本(来自版本:)找不到与tensorflow> = 1.7.0匹配的分布 - Could not find a version that satisfies the requirement tensorflow>=1.7.0 (from versions: ) No matching distribution found for tensorflow>=1.7.0 错误:找不到满足 tensorflow==2.1.0 要求的版本,并且未找到 tensorflow==2.1.0 的匹配分布 - ERROR: Could not find a version that satisfies the requirement tensorflow==2.1.0 and No matching distribution found for tensorflow==2.1.0 错误:找不到满足 tensorflow 要求的版本(来自版本:无) - ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) 找不到满足 java 要求的版本(来自版本:)没有找到与 java 匹配的发行版 - Could not find a version that satisfies the requirement java (from versions: ) No matching distribution found for java 错误:找不到满足熊猫要求的版本(来自版本:)找不到与熊猫匹配的发行版 - ERROR : Could not find a version that satisfies the requirement pandas (from versions: ) No matching distribution found for pandas 找不到满足 pyimagesearch 要求的版本(来自版本:)找不到与 pyimagesearch 匹配的发行版 - Could not find a version that satisfies the requirement pyimagesearch (from versions: ) No matching distribution found for pyimagesearch 错误:找不到满足 mathplotlib 要求的版本(来自版本:无)错误:找不到 mathplotlib 的匹配分布 - ERROR: Could not find a version that satisfies the requirement mathplotlib (from versions: none) ERROR: No matching distribution found for mathplotlib 找不到满足 dblib 要求的版本(来自版本:无)并且没有找到 dblib 的匹配分布 - could not find a version that satisfies the requirement dblib (from versions: none) and No matching distribution found for dblib
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM