ImportError : cannot import name 'context from 'tensorflow.python.eager'
@inviul,
Could you please confirm whether you are facing the issue on only Windows environment or other env. as well. When I tried to import the above mentioned, I was able to import the same.

Also there is the numpy dependency. Could please re-check if you have installed the correct numpy version .
[tensorflow/tensorflow/tools/pip_package/setup.py](https://github.com/tensorflow/tensorflow/blob/v2.13.0/tensorflow/tools/pip_package/setup.py#L93)

**'numpy >= 1.22, <= 1.24.3',** 

Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61858">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61858">No</a>

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.13.0

### Custom code

No

### OS platform and distribution

Windows 11

### Mobile device

_No response_

### Python version

3.10

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[~\AppData\Local\Temp\ipykernel_23420\1827115418.py](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/go4av/OneDrive/Desktop/Dissertation/Code/2021fc04746/notebook/~/AppData/Local/Temp/ipykernel_23420/1827115418.py) in <module>
----> 1 from tensorflow import keras
      2 from tensorflow.keras.models import Sequential
      3 from tensorflow.keras.layers import Input, Dense, Activation, Dropout
      4 from tensorflow.keras.optimizers import Adam
      5 from keras import layers

[c:\Program](file:///C:/Program) Files\Python310\lib\site-packages\tensorflow\__init__.py in <module>
     36 import typing as _typing
     37 
---> 38 from tensorflow.python.tools import module_util as _module_util
     39 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
     40 

[c:\Program](file:///C:/Program) Files\Python310\lib\site-packages\tensorflow\python\__init__.py in <module>
     35 
     36 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
---> 37 from tensorflow.python.eager import context
     38 
     39 # pylint: enable=wildcard-import

ImportError: cannot import name 'context' from 'tensorflow.python.eager'

### Standalone code to reproduce the issue

```shell
from tensorflow import keras 
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Input, Dense, Activation, Dropout
from tensorflow.keras.optimizers import Adam
from keras import layers
from keras import regularizers
```


### Relevant log output

```shell
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[~\AppData\Local\Temp\ipykernel_23420\1827115418.py](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/go4av/OneDrive/Desktop/Dissertation/Code/2021fc04746/notebook/~/AppData/Local/Temp/ipykernel_23420/1827115418.py) in <module>
----> 1 from tensorflow import keras
      2 from tensorflow.keras.models import Sequential
      3 from tensorflow.keras.layers import Input, Dense, Activation, Dropout
      4 from tensorflow.keras.optimizers import Adam
      5 from keras import layers

[c:\Program](file:///C:/Program) Files\Python310\lib\site-packages\tensorflow\__init__.py in <module>
     36 import typing as _typing
     37 
---> 38 from tensorflow.python.tools import module_util as _module_util
     39 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
     40 

[c:\Program](file:///C:/Program) Files\Python310\lib\site-packages\tensorflow\python\__init__.py in <module>
     35 
     36 from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
---> 37 from tensorflow.python.eager import context
     38 
     39 # pylint: enable=wildcard-import

ImportError: cannot import name 'context' from 'tensorflow.python.eager'
```
