【发布时间】:2019-02-05 00:15:59
【问题描述】:
我想在 GAE 上使用 firebase-admin。 所以我按照以下方法安装了firebase-admin。
https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27
appengine_config.py
from google.appengine.ext import vendor
# Add any libraries install in the "lib" folder.
vendor.add('lib')
requirements.txt
firebase-admin
并安装它。
pip install -t lib -r requirements.txt
然后我检查了“lib”文件夹,有六个。 而六个版本是1.11.0。
但我已经使用了内置的六个。
app.yaml
libraries:
- name: six
version: latest
内置六个版本为“1.9.0”。
这些差异对GAE的过程有什么影响吗? 如果有影响,如何解决?
【问题讨论】:
-
GAE 中six 支持的版本是 1.9.0。如果将firebase-admin-python中的六个版本改成1.9.0呢?如果您收到与六个版本相关的任何错误消息,请分享它们。
-
pipdeptree 说“firebase-admin 要求 -> - google-api-core 要求 -> - 六个 [必需:>=1.10.0,安装:1.11.0]”。我不知道如果安装了1.9.0有任何影响。但是它与依赖不匹配。
标签: python python-2.7 google-app-engine google-cloud-platform