无法使用 pip 或 anaconda 安装 tensorflow [英] Can't install tensorflow with pip or anaconda
问题描述
有谁知道如何在 Windows 上正确安装 tensorflow?
Does anyone know how to properly install tensorflow on Windows?
我目前正在使用 Python 3.7(也尝试使用 3.6),每次我得到相同的找不到满足 tensorflow-gpu 要求的版本(来自版本:)找不到与 tensorflow-gpu 匹配的分布"错误
I'm currently using Python 3.7 (also tried with 3.6) and every time I get the same "Could not find a version that satisfies the requirement tensorflow-gpu (from versions: ) No matching distribution found for tensorflow-gpu" error
我尝试使用 pip 和 anaconda 进行安装,但两者都不适合我.
I tried installing using pip and anaconda, both don't work for me.
找到了解决办法,貌似Tensorflow 3.6.4 以后不支持python 版本了.这是我目前使用的版本,它可以工作.
Found a solution, seems like Tensorflow doesn't support versions of python after 3.6.4. This is the version I'm currently using and it works.
推荐答案
Tensorflow 或 Tensorflow-gpu 仅支持 3.5.X 版本的 Python.尝试使用任何 Python 3.5.X 版本进行安装.这应该可以解决您的问题.
Tensorflow or Tensorflow-gpu is supported only for 3.5.X versions of Python. Try installing with any Python 3.5.X version. This should fix your problem.
这篇关于无法使用 pip 或 anaconda 安装 tensorflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!