【发布时间】:2013-04-05 16:58:01
【问题描述】:
我一直在尝试使用 Windows 命令提示符上传 python Google 应用引擎文件夹。我在文件夹中有 app.yaml 和 python 文件。但是当我在命令提示符中传递以下命令时:
appcfg.py --oauth2 update C:/Path/to/the/folder
我收到此错误。
appcfg.py: error: Directory does not contain an Project.yaml configuration file.
我哪里错了,我应该怎么做?
这是我的 app.yaml 文件:
application: myappid
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: sampleapp.app
libraries:
- name: lxml
version: "latest"
【问题讨论】:
-
developers.google.com/appengine/docs/python/config/… 假设您确实阅读了这篇文章并在项目根目录中配置了 app.yaml 文件,对吧?
-
当您说“app.yaml 文件已配置并在您的项目根目录中”是什么意思?