install tensorflow version 1.4 code example
Example 1: install tensorflow
pip install tensorflow
Example 2: 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