开发者

Import Error on Google AppEngine : No module named oauth2

开发者 https://www.devze.com 2023-04-06 02:48 出处:网络
Im running Google AppEngine. I have oauth2 开发者_StackOverflow中文版installed. Im successfully able to import oauth2 inprogram but when I run my python application using GoogleAppEngine Launcher on l

Im running Google AppEngine. I have oauth2 开发者_StackOverflow中文版installed. Im successfully able to import oauth2 in program but when I run my python application using GoogleAppEngine Launcher on localhost, then I get the following error

ImportError: No module named oauth2

Im using Python2.7 which is not the default version of GoogleAppEngine, but I have changed the python path both in my project and in GoogleAppEngine Launcher.


Have you looked at this example? It shows OAuth2 being used in a Google App Engine Python project. This might give you a better sense of how to use OAuth2 and GAE.


Are you trying to authenticate inbound HTTP requests on App Engine using OAuth2?

I just posted a full end to end example here: google app engine oauth2 provider

0

精彩评论

暂无评论...
验证码 换一张
取 消