pip3 install tensorflow==2.2.0 code example
Example: update tensorflow pip
######## for Python 2.7
pip install --upgrade pip
pip install --upgrade tensorflow
######## for Python 3.n
pip3 install --upgrade pip
pip3 install --upgrade tensorflow
######## for Python 2.7
pip install --upgrade pip
pip install --upgrade tensorflow
######## for Python 3.n
pip3 install --upgrade pip
pip3 install --upgrade tensorflow