简体   繁体   English

无法使用 pip 安装 Tensorflow

[英]Can't install Tensorflow using pip

I downloaded Tensorflow 2.2.0 which is compatible with Python 3.8 and windows, and used the command prompt to install it with the commands我下载了与 Python 3.8 和 windows 兼容的 Tensorflow 2.2.0,并使用命令提示符使用命令进行安装

pip3 install Tensorflow

pip install Tensorflow

pip3 install --upgrade Tensorflow

pip install --upgrade Tensorflow

Every single one of these returned these errors, though.但是,其中每一个都返回了这些错误。

ERROR: Could not find a version that satisfies the requirement Tensorflow (from versions: none)
Error: No matching distribution found for Tensorflow

When I got this, I tried the same thing with Python 3.7.当我得到这个时,我用 Python 3.7 尝试了同样的事情。 Does anybody know how to fix this error?有谁知道如何解决这个错误?

Both installations of Python are 64 bit, and I downloaded Tensorflow from https://www.tensorflow.org/install/pip#virtual-environment-install Both installations of Python are 64 bit, and I downloaded Tensorflow from https://www.tensorflow.org/install/pip#virtual-environment-install

Edit: I attempted all the same commands, but with the 'T' in tensorflow decapitalized, and still got the same error message.编辑:我尝试了所有相同的命令,但 tensorflow 中的“T”被取消大写,但仍然收到相同的错误消息。

It might require creation of virtual environment, & python 3.8 supports tensorflow 2.2 or greater.它可能需要创建虚拟环境,并且 python 3.8 支持 tensorflow 2.2 或更高版本。 For more installation details check this .有关更多安装详细信息,请查看此

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM