Cannot import tensorflow in my webapp

Hey, I am deploying my app on streamlit cloud but it always shows the following error:

 2 import pickle                                                            
 3 import streamlit as st                                                   
 4 import pandas as pd                                                      

❱ 5 import tensorflow as tf
6 import os
7
8 # Set Streamlit theme

────────────────────────────────────────────────────────────────────────────────

ModuleNotFoundError: No module named β€˜tensorflow’



this is my requirements.txt file:

numpy==1.19.5
pandas==1.1.0
scikit_learn==1.0.1
streamlit==1.2.0
tensorflow==2.6.0
tensorflow_hub==0.11.0
keras==2.6.0

I need help fast because I need to show the project to my teacher soon....

Please share the link to your public github repo.

Thank you for your reply.
There were some issues in the code due to which the error was showing up.
resolved them.

Thank you again!!

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