The Error “Tensorflow 1 is unsupported in Colab python”, is an error that is invoked when you are working on python and are trying to use tensorflow for your NLP projects.
The error is usually seen when you are using google colab notebooks for your project.
Given below is the snippet of the error you might get:
Tensorflow 1 is unsupported in Colab.
Your notebook should be updated to use Tensorflow 2.
See the guide at https://www.tensorflow.org/guide/migrate#migrate-from-tensorflow-1x-to-tensorflow-2.
The error “Tensorflow 1 is unsupported in Colab python” is seen because the code you are using is based on Tensorflow version 1 and as mentioned into error itself, Tensorflow 1 is unsupported in Colab now.
As per Google announcement on 11 August 2022, Colab removed support for TensorFlow 1 in their latest release.
Google 11-Aug-2022 announcement states that ‘Removed support for TensorFlow 1’.

You need to be aware that Colab just stopped supporting Tensor flow version 1.
However if required, you may still manually install it. Simply uninstall the previous Tensor flow v2 installation and install the earlier version instead.
The issue suggests that the code you intend to use is built on Tensorflow version 1. You should be aware that Tf1 support was recently discontinued by Colab.
To fix the error, “Tensorflow 1 is unsupported in Colab Python”, uninstall the Tensor Flow version 2 and install the earlier version Tensor Flow version 1 and ‘ValueError: Tensorflow 1 is unsupported in Colab Python’ would be fixed.
To fix the issue you should be aware that Tf1 support was recently discontinued by Colab.
However, you can still install it by yourself. Replace the current Tf2 installation with the old one by simply removing the current one.
Commands to uninstall the Tensorflow v2 and install Tensorflow v1 Manually:
!pip uninstall tensorflow
!pip install tensorflow-gpu==1.15
You might be prompted to restart the runtime in order for the modification to take effect, but this usually suffices.
This should help you to fix the issue, “Tensorflow 1 is unsupported in Colab.”