I have TensorFlow 2.6 installed with Python 3.9. However, I get the following errors:
tf.enable_eager_execution()
AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'
When I run tf.executing_eagerly()
I get False.
I reinstalled TensorFlow and I'm still getting the same errors.