After upgrading my Mac (M2) to macOS Sonoma 14.0, TensorFlow and Keras model training no longer works. How can I fix this?

After upgrading my Mac (M2) to macOS Sonoma 14.0, TensorFlow and Keras model training no longer works. How can I fix this?

Hi @MYEV, Welcome to the TensorFlow Forum!
Try using compatible versions, and also consider testing with the tf-nightly build. I would also suggest you to please give it try with different Python versions and also tensorflow versions. Thank you!