ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import keras
~\Anaconda3\lib\site-packages\keras_init_.py in
18 from . import callbacks
19 from . import constraints
—> 20 from . import initializers
21 from . import metrics
22 from . import models
~\Anaconda3\lib\site-packages\keras\initializers_init_.py in
15 “”“Keras initializer serialization / deserialization.”""
16
—> 17 import tensorflow.compat.v2 as tf
18
19 import threading
ModuleNotFoundError: No module named ‘tensorflow.compat’