egichuki
(Evans)
September 25, 2021, 1:38am
1
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
ChrisRahme
(Chris Rahmé)
September 25, 2021, 8:11pm
2
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/…
egichuki
(Evans)
September 26, 2021, 3:23pm
3
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
ChrisRahme
(Chris Rahmé)
September 26, 2021, 4:30pm
4
Sorry, no idea
Maybe they can help you better on Stack Overflow ?