install tensorflow for cpu only code example
Example 1: conda install tensorflow windows
conda install -c conda-forge tensorflow
Example 2: 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 3: pip install tensorflow not working
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl