Since I am using python 3.5 so I will answer this question from that perspective. You can follow these steps -
1. Open anaconda terminal and type these things.
conda create --name MyEnv python=3.5
(MyEnv)C:> pip install tensorflow
This installs Tensorflow in that particular environment. For testing run the following commands -
>>>import tensorflow as tf
>>>hello = tf.constant('Hello World!')
>>>sess = tf.Session()
It should run without any error with output "Hello World!"