I downloaded anaconda which has a python 3.8 version. and i installed tensorflow with pip install tensorflow.
pip install tensorflow
from tensorflow.contrib import learn<