I am not able to use tensorflow in python 3.8

半腔热情 提交于 2020-05-09 07:15:26

问题


I am not able to use Tensorflow in Python 3.8.

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

回答1:


Tensorflow (version: 2.1, as of now) is not supported on python 3.8. It was widely expected for TF2.2 to be supported for 3.8 but tf-nightly for 2.2 as of today's release (18 Jan, 2020) do not have wheel for python 3.8.

UPDATE: Even this release (19 Feb, 2020) of tf-nightly does not support python 3.8 yet. This is because many underlying packages are not yet written for 3.8.

You can wait for a supported version or simply go with python 3.5-3.7 for now.

UPDATE 2: This release (26th April 2020) for tf-nightly got support for python 3.8 for many linux platform. You can grab that here: https://pypi.org/project/tf-nightly/#files



来源:https://stackoverflow.com/questions/59458846/i-am-not-able-to-use-tensorflow-in-python-3-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!