python2.7 + google app engine

princesshan 2017-10-09 04:54:06
就是书上一个简单的例子,我用 google app engine lanucher deploy的时候,报错。

main.py 代码如下:
from google.appengine.api import oauth
import webapp2
import cookielib

class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.write('Hello world!')


app = webapp2.WSGIApplication([
('/', MainHandler)
],







下面是报的错误

2017-10-09 16:05:56 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=test2004@163.com', '--passin', 'update', u'C:\\PythonL\\helloworld']"
Application: helloworld; version: 1
Host: appengine.google.com

Starting update of app: helloworld, version: 1
Scanning files on local disk.
Password for test2004@163.com: Error 404: --- begin server output ---
https://developers.google.com/accounts/docs/AuthForInstalledApps
--- end server output ---
2017-10-09 16:06:00 (Process exited with code 1)

You can close this window now.
...全文
177 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
princesshan 2017-10-10
  • 打赏
  • 举报
回复
自己顶一下,有人知道吗?

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧