Trying to integrate Google firestore API at python server
...
File "/home/daffolap-355/repos/subscriptions/appvendor/firebase_admin/firestore.py", line 28, in <module>
raise ImportError('Failed to import the Cloud Firestore library for Python. Make sure '
ImportError: Failed to import the Cloud Firestore library for Python. Make sure to install the "google-cloud-firestore" module.
I get this error here:
from firebase_admin import credentials, auth, firestore
I installed the firebase-admin
module:
pip install --upgrade -t libs firebase-admin
And run the app
dev_appserver app.yaml
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…