I am deploying my webapp on streamlit but it is showing error that "No module named 'tensorflow' "

I have also kept requirements.txt in root folder only.

Here’s the link to my repo-

I see that TensorFlow is not in your requirements file. Can you add it? Keras is included within TensorFlow.

There’s a bit of intertwined history between Keras and TensorFlow. Keras vs. tf.keras: What’s the difference in TensorFlow 2.0? - PyImageSearch

Thank you so much!
Issue got fixed.

1 Like

i am also facing modulenotfounderror

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.