python2.7 + google app engine
就是书上一个简单的例子,我用 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.