pip install tensorflow 1.14 colab code example
Example: colab tensorflow version change
%tensorflow_version 1.x
import tensorflow
print(tensorflow.__version__)
%tensorflow_version 1.x
import tensorflow
print(tensorflow.__version__)