import webapp2 works on google-app-engine even though I don't have webapp2 installed

前端 未结 3 2050
一生所求
一生所求 2020-12-17 07:04

When I run the following hellow world program (with the GAE Launcher) it works:

import webapp2

class MainPage(webapp2.RequestHandler):
    def get(self):
           


        
3条回答
  •  没有蜡笔的小新
    2020-12-17 07:29

    Are you using the python27 runtime? If so, webapp2 is available on both the development server, regardless of whether you have it installed, and the production runtime. If you're able to import webapp2 under the old python 2.5 runtime, I would consider this a bug.

提交回复
热议问题