【发布时间】:2014-09-06 17:54:58
【问题描述】:
我下载了 PyCrypto 的实验版 (pycrypto-2.7a1.tar.gz)。我已将“加密”目录(从 pycrypto-2.7a1.tar.gz 中提取)复制到我的项目文件夹中。
在 app.yaml 文件中:
libraries:
- name: pycrypto
version: 2.7 # latest
如果我尝试在 app.yaml 中为 PyCrypto 提供 2.7a1 或 2.7 版本,则会出现错误(在部署时):
appcfg.py: error: Error parsing C:\gaurav\coding\python\x\x\app.yaml: pycrypto version "2.7" is not supported, use one of: "2.3", "2.6" or "latest" ("latest" recommended for development only)
in "C:\gaurav\coding\python\x\x\app.yaml", line 73, column 1.
如何在 app.yaml 中提供正确的 PyCrypto 版本?
【问题讨论】:
标签: google-app-engine python-2.7 pycrypto app.yaml