ModuleNotFoundError: No module named 'firebase_admin'

Hey, I’ve been trying to use firebase-admin on my project. But i keep getting the “No Module named error”.

I have installed and uninstalled firebase-admin severally

when I try running python on the terminal and import firebase-admin, it works without any problem

When I run the save to DB function independently(within the virtual environment) without the actions, it works perfectly

The error with → rasa run actions

Hello, maybe this can help?

Have you vendored the library into your App Engine app?

https://cloud.google.com/appengine/docs/standard/python/tools/…

This is also saying the same thing:

Did you vendor the lib/ directory into your app? That is required.

https://cloud.google.com/appengine/docs/standard/python/tools/…

You will also need to follow the additional set up instructions at https://google-auth.readthedocs.io/en/latest/…

Hey Chris,

Thanks for the reply, It didn’t work, I’m also trying to get it to work locally and not on the google app engine. Tried both pip install -t myenv/lib/ firebase-admin and pip install -t lib/ firebase-admin

1 Like

Sorry, no idea :confused:

Maybe they can help you better on Stack Overflow?