# Package dependency issues

**URL:** <https://forum.anaconda.com/t/package-dependency-issues/91497>\
**Category:** Software Releases\
**Created:** [January 18, 2025, 5:17pm UTC](https://forum.anaconda.com/t/package-dependency-issues/91497 "2025-01-18T17:17:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hygienus](https://avatars.discourse-cdn.com/v4/letter/h/c2df01/32.png) [@hygienus](https://forum.anaconda.com/u/hygienus)\
**Post date:** [January 18, 2025, 5:17pm UTC](https://forum.anaconda.com/t/package-dependency-issues/91497/1 "2025-01-18T17:17:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Behailu\_Getachew](https://avatars.discourse-cdn.com/v4/letter/b/0075a9/32.png) [@Behailu\_Getachew](https://forum.anaconda.com/u/Behailu_Getachew)\
**Post date:** [January 25, 2025, 10:57am UTC](https://forum.anaconda.com/t/package-dependency-issues/91497/2 "2025-01-25T10:57:45Z")

</div>

# 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()
