Forums

ModuleNotFoundError: No module named 'firebase_admin'

i have successfully installed firebase-admin on my site-packages , and i can run flaskapp from bash console its not showing any error but when i deploy it shows this error - Error running WSGI application ModuleNotFoundError: No module named 'firebase_admin'

Are you sure that you run your web app in the same environemnt/python version where the package was installed?

No, they are different i have checked it and changed,Now its working.Thanks..

How can you check if the environment/python version is the same?

Look at your web app configuration page to see the Python version and the virtualenv that it is using. Then make sure that you use that when you're installing https://help.pythonanywhere.com/pages/InstallingNewModules/