根据内置库的官方列表,ujson
是可用的。但是,以下 app.yaml 片段:
libraries:
- name: ujson
version: '1.35'
...产生此错误:
Usage: appcfg.py [options] update <directory> | [file, ...]
appcfg.py: error: Error parsing ./app.yaml: the library "ujson" is not supported
in "./app.yaml", line 89, column 1.
如果我尝试使用其他受支持的 C 库,例如 numpy,它可以正常工作。我正在运行 SDK 159.0.0(最新),甚至可以在google-cloud-sdk/lib/googlecloudsdk/third_party/appengine/api/appinfo.py
.
任何线索为什么 ujson 不可用?