Error TypeError: _variable_v1_call() got an unexpected keyword argument in JETSON AGX ORIN and Tensorflow 2.12.0

If I install Tensorflow 2.13.1 the error disappears also.

As summary, if I install
sudo pip3 install --extra-index-url Index of /compute/redist/jp/v512 tensorflow==2.13.1

Then there is no error when executing the scripts.

However if I install
sudo pip3 install --extra-index-url Index of /compute/redist/jp/v512 tensorflow==2.12.0+nv23.06

Then errors appear when executing the scripts.

The version 2.12.0+nv23.06 is the last Nvidia version for jetpack 5.1.2. However the version 2.13.1 is not an Nvidia version.
If I dont use the prebuilt image 2.12.0+nv23.06 then the GPU is not detected when I launch “tf.config.list_physical_devices()” command in python console, as explaind in this topic: