While Deploying streamlitt web app....it says your app has encountered an error

But i have installed pyrebase4 on my local system and it works fine on my system.
At the time of deploying app,it throws this error.
Hope this issue resolved ASAP.
Thanks in advance!

You need to install pyrebase4 in the deployment environment too.

could you please shed a light on how to install pyrebase4 in the deployment environment.

And also i didn’t mention pyrebase4 in my code but works fine.

It is explained in the link I posted above. Is there something you don’t understand? Please be specific.

i didnt get how to install pyrebase4 in deployment environment

You need to have pyrebase4 installed in order to import pyrebase.

yes,i have installed.