install tensorflow 1 code example

Example 1: 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

Example 2: how to pip install tensorflow

py -m pip install tensorflow
# contact me on discord if you need any help deep#3775

Example 3: install tensorflow

pip install tensorflow

Example 4: install tensorflow for python 3.9.1

python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

Example 5: installing a specific version of tensorflow

pip install tensorflow==2.0.0

Example 6: how to install tensorflow

sudo apt tensorflow