【问题标题】:Error uploading application Python Google App Engine上传应用程序 Python Google App Engine 时出错
【发布时间】: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"

【问题讨论】:

标签: python google-app-engine


【解决方案1】:

检查你的 shell 语法。由于没有引用正确的项目文件夹,我也收到了此错误消息。注意结尾的斜线:

appcfg.py --oauth2 更新 C:/Path/to/the/folder/

【讨论】:

    猜你喜欢
    • 2014-03-11
    • 2016-07-30
    • 1970-01-01
    • 1970-01-01
    • 2020-02-12
    • 2018-05-04
    • 2017-11-27
    • 2011-07-11
    • 2012-05-13
    相关资源
    最近更新 更多