I have tried installing the latest version of python and tensorflow but error i am getting is stating that i dont have keras installed in my notebook
Install Keras
pip install keras
#Verify TensorFlow Installation
import tensorflow as tf
print(tf.version)
Install TensorFlow with Keras
pip install tensorflow
Check Your Environment
which python
Restart Your Notebook
Import Keras from TensorFlow
from tensorflow import keras
Verify Installation
from tensorflow import keras
from tensorflow.keras import layers
Simple Sequential Model
model = keras.Sequential([
layers.Dense(64, activation=‘relu’, input_shape=(32,)),
layers.Dense(10, activation=‘softmax’)
])
model.summary()