ubuntu 18 install tensorflow 2.4 code example

Example 1: install tensorflow 1.14 in ubuntu

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

Example 2: install tensorflow from source ubuntu 18.04

sudo apt install pkg-config zip g++ zlib1g-dev unzipwget https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-installer-linux-x86_64.shchmod +x bazel-0.19.2-installer-linux-x86_64.shsudo ./bazel-0.19.2-installer-linux-x86_64.sh