1. Download Anaconda from here.
  2. Install Anaconda.
  3. Create a virtual environment for Tensorflow.
(base) $ conda create -n tensorflow python=3.8.0
(base) $ conda activate tensorflow

(tensorflow) $ conda install -c nvidia cudatoolkit=11.2.0 cudnn=8.1.0 
(tensorflow) $ pip install tensorflow==2.8.0 tensorflow-addons==0.14.0 tensorflow-datasets tensorflow-probability==0.16.0 tensorflow-hub  bokeh colorcet fastcluster imageio ipykernel jupyterlab mlflow networkx pandas plotly pylint scikit-learn seaborn selenium
  1. Load Tensorflow
import tensorflow as tf
import tensorflow_addons as tfa
import tensorflow_datasets as tfds
import tensroflow_hub as hub
import tensorflow_probability as tfp