!pip uninstall tensorflow -y !pip install tensorflow==1.14
%tensorflow_version 1.x import tensorflow as tf print(tf.__version__) 1.14.0