AppEngine 标准上的 Spacy

Spacy on AppEngine standard

我正在尝试在新的 AppEngine 标准 Python 3.7 运行时上使用 Spacy。

当我尝试部署时,我得到:

ERROR: (gcloud.app.deploy) Cannot upload file [/my/project/path/venv/lib/python3.7/site-packages/spacy/lang/tr/lemmatizer.py], which has size [41523943] (greater than maximum allowed size of [33554432]). Please delete the file or add to the skip_files entry in your application .yaml file and try again.

一些奇怪的地方:

要解决此问题,我需要更新 gcloud 并重新进行身份验证:

gcloud components update
gcloud auth login