Which version of python is supported in Tensorflow?

与世无争的帅哥 提交于 2020-12-12 08:42:55

问题


I tried to setup tensorflow for python version 3.7.1 which was not supported and ended up wasting half Sunday. I want to know which versions of python does tensorflow supports?


回答1:


From the official website:

Requires Python 3.4, 3.5, or 3.6

Edit:

It looks like Python 3.7 is now supported with TensorFlow 1.13+

Therefore, requires Python 3.4+ for TensorFlow 1.13+




回答2:


Tensorflow, for now only works with Python 3.6, 3.7 support is still in active development, make sure to install python 3.6 and try to set it up again, it should work




回答3:


Sorry i am only posting the question and i am only giving the answer for it. TENSORFLOW IS NOT SUPPORTED FOR PYTHON 3.7.X. Please do not waste time even on trying also It will throw an error on "pywrap_internal.py" From Anaconda create conda environment and install tensorflow package Try importing it. Hope it helps.




回答4:


As of 11 Dec I found this link: https://www.tensorflow.org/install/source_windows#cpu It posted: Windows CPU:

Version Python ver
tensorflow-2.3.0 3.5-3.8
tensorflow-2.2.0 3.5-3.8
tensorflow-2.1.0 3.5-3.7
tensorflow-2.0.0 3.5-3.7


来源:https://stackoverflow.com/questions/54513388/which-version-of-python-is-supported-in-tensorflow

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