我正在尝试将Firebase与AWS Lambda连接。我正在使用他们的firebase-admin软件开发工具包。我已经按照here的描述安装并创建了依赖包。但是我在Lambda上得到了这个错误:
Unable to import module 'index':
Failed to import the Cloud Firestore library for Python.
Make sure to install the "google-cloud-firestore" module.我之前也尝试过使用node.js设置类似的功能,但因为没有配置GRPC而收到错误消息。我认为这个错误消息可能是由相同的问题引起的。我不知道该怎么解决这个问题。我试过了:
pip install grpcio -t path/to/...和安装google-cloud-firestore,但都不能解决问题。当我从我的终端运行代码时,我没有得到任何错误。
https://stackoverflow.com/questions/51391458
复制相似问题