I installed TensorFlow on my Windows Python 3.5 Anaconda environment The validation was successful (with a warning)
(tensorflow) C:\\>python
deleting tensorflow from cDrive/users/envs/tensorflow and after that
conda create -n tensorflow python=3.6 activate tensorflow pip install --ignore-installed --upgrade tensorflow
now its working for newer versions of python thank you