You can install tensorflow by this pip command: "pip install tensorflow". For installation details check "https://www.tensorflow.org/install"
If you have GPU in your PC, Follow "https://www.tensorflow.org/install/gpu"
import tensorflow as tf
print(tf.__version__)