!pip install tensorflow==1.8.0 code example
Example 1: installer tensorflow 2.0
# Requires the latest pip
pip install --upgrade pip
# Current stable release for CPU and GPU
pip install tensorflow
# Or try the preview build (unstable)
pip install tf-nightly
Example 2: installing a specific version of tensorflow
pip install tensorflow==2.0.0