[英]I am not able to use tensorflow in python 3.8
我无法在 Python 3.8 中使用 Tensorflow。
C:\Users\Shail>pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
python 3.8 不支持 Tensorflow(版本:2.1,截至目前)。 人们普遍预计 3.8 将支持 TF2.2,但截至今天发布(2020 年 1 月 18 日),2.2 的 tf-nightly 没有用于 python 3.8 的轮子。
更新:即使是 tf-nightly 的这个版本(2020 年 2 月 19 日)也不支持 python 3.8。 这是因为许多底层包还没有为 3.8 编写。
您可以等待受支持的版本,也可以暂时使用 python 3.5-3.7。
更新 2: tf-nightly 的此版本(2020 年 4 月 26 日)支持许多 linux 平台的 python 3.8。 你可以在这里抓住它: https : //pypi.org/project/tf-nightly/#files
现在 tensorflow 2.2 正式支持 python 3.8。 许多库都滞后于 Python 的每个新版本的支持版本。 这一直发生到依赖项被写入。 对于那里的每个人,如果您的 python 版本没有任何特定的包,请尝试等待一段时间或降级 oa 支持的 python 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.