10

I have Python3.11.0 on a Windows10 PC. Trying to install tensorflow using:

pip install tensorflow

gives error. Upon visiting the tensorflow site I realised that it supports only 3.7 - 3.10 Should I downgrade the python version or is any workaround available?

Sam
  • 141
  • 1
  • 2
  • 9

4 Answers4

3

Yes, you should downgrade python to < 3.11 until the wheels are updated to support python 3.11

Dr. Snoopy
  • 55,122
  • 7
  • 121
  • 140
3

tensorflow currently supports from python 3.7 - 3.10 4

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 16 '23 at 17:35
3

Tensorflow 2.12 has been released with python 3.11 support, so you can now consolidate your python installations and package setups

day
  • 161
  • 1
  • 12
1

Yes, you could create a conda environment using python 3.10 to use tensorflow. Here's a link with instructions to follow : https://www.tensorflow.org/install/pip#macos

kotche
  • 19
  • 1
  • An example in addition to the link would be useful. – Jack H Dec 26 '22 at 17:15
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/late-answers/33493297) – Mike_H Dec 26 '22 at 18:47