Intuition When importing keras_adversarial with a program that uses GAN in Chapter 4 of the book Deep Learning

File "C: \ Users \ XXXX \ AppData \ Local \ Programs \ Python \ Python38 \ lib \ site-packages \ keras_adversarial-0.0.3-py3.8.egg \ keras_adversarial \ backend \ tensorflow_backend.py", line 3, in
ModuleNotFoundError: No module named'tensorflow.contrib'

I get the error.
Since the version of Tendsorflow is 2.3.1, is it only in tensorflow1x? I get an error that tensorflow.contrib cannot be used. When I try to install the 1st version

ERROR: Could not find a version that satisfies the requirement tensorflow == 1.4 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1,
2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3)
ERROR: No matching distribution found for tensorflow == 1.4

I get an error.
I did a lot of research, but in the end I didn't understand. Thanks for your enjoyment.