Shah Shail
Shah Shail

Reputation: 29

I am not able to use tensorflow in python 3.8

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

Upvotes: 2

Views: 2088

Answers (1)

Hamza
Hamza

Reputation: 6025

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.

Upvotes: 4

Related Questions