I am getting the error while using "from keras.utils import to_categorical"

as told in the tutorial i have changed my backend to theano but it is still not working.

i am getting this error :

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

This error means that the backend has not changed , keras is still trying to use tensorflow .