I am not able to use tensorflow in python 3.8

前端 未结 1 736
小蘑菇
小蘑菇 2020-12-21 23:24

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 tens         


        
1条回答
  •  醉梦人生
    2020-12-21 23:51

    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

    Now tensorflow 2.2 officially supports python 3.8. Many libraries lag with the supporting version for each new release of Python. This happens till the dependencies are written. For everyone out there if any particular package is not available for your python version, try waiting for a while or downgrading o a supported version of python.

    0 讨论(0)
提交回复
热议问题