有没有人成功地使用Python版本2.6的Google App Engine? [英] Has anyone succeeded in using Google App Engine with Python version 2.6?

查看:86
本文介绍了有没有人成功地使用Python版本2.6的Google App Engine?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Python 2.6向后兼容到2.52,有没有人成功地将它与Google app Engine(它正式支持2.52)一起使用。



我知道我应该试试我。但我是一个python和web应用程序的新蜜蜂,对于我来说,安装和配置是开始使用这个领域的新东西时最难的部分。
(....我正在尝试自己在此期间....)

谢谢

解决方案

如果您尝试启动开发环境,我认为日志模块会崩溃。请参阅该问题和解决方法



这样做后,我的代码在2.6中工作,没有任何问题。我建议使用2.5.x,因此在代码中不会引入其他不兼容性,这会使您的应用在实时服务器上失败。


Since Python 2.6 is backward compatible to 2.52 , did anyone succeeded in using it with Google app Engine ( which supports 2.52 officially ).

I know i should try it myself. But i am a python and web-apps new bee and for me installation and configuration is the hardest part while getting started with something new in this domain. ( .... I am trying it myself in the meanwhile ....)

Thanks

解决方案

I suppose logging module crashes if you try to start the dev environment. See the issue and a workaround.

After doing that change my code worked in 2.6 without any problems. I suggest using 2.5.x though so there are no other incompatibilities introduced in your code which would make your app fail on the live server.

这篇关于有没有人成功地使用Python版本2.6的Google App Engine?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆