如屏幕截图所示,当我尝试从终端在 Google App 引擎中运行我的 helloworld.py 脚本时出现以下错误。#我的操作系统:Ubuntu.14.#
这是我的文件app.yaml。
application: #My project Id.
version: 1
runtime: python27
threadsafe: true
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /
static_files: static/index.html
upload: static/index\.html
secure: always
- url: /_ah/spi/.*
script: helloworld_api.app
libraries:
- name: endpoints
version: 1.0
问题是我无法在本地机器上部署我的代码。任何帮助将不胜感激。谢谢 :) 我检查了 Online Yaml 解析器,它也显示了它的有效性。