简体   繁体   English

为什么我不能在 windows 10 上安装 tensorflow(python 3.9.0 pip 21.0.1)?

[英]Why can't I install tensorflow on windows 10 (python 3.9.0 pip 21.0.1)?

I tried pip installing it using command prompt, and got this error我尝试使用命令提示符安装 pip,并收到此错误

py -m pip install tensorflow

ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow

Currently the Tensorflow only supports for python 3.5 - 3.8.目前 Tensorflow 仅支持 python 3.5 - 3.8。 As you are on 3.9 it will now work, you need to downgrade your python version for now.由于您使用的是 3.9,它现在可以工作,您现在需要降级 python 版本。 When it will support python 3.9 you can upgrade to that version.当它将支持 python 3.9 时,您可以升级到该版本。

Tensorflow is supporting up to Python 3.8 as per their documentation .根据他们的文档,Tensorflow 最多支持 Python 3.8。 You have to create new environment with Python 3.8您必须使用 Python 3.8 创建新环境

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

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