首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

Google app engine for pythone(gae)window环境搭建以及遇到的有关问题

2012-09-04 
Google app engine for pythone(gae)window环境搭建以及遇到的问题1.下载相关的软件?Google app engine sd

Google app engine for pythone(gae)window环境搭建以及遇到的问题

1.下载相关的软件

?

Google app engine sdk?https://developers.google.com/appengine/downloads

?

python 2.5 (不能使用最新的3,因为目前gae只支持2.7或2.5)

?

2.创建helloworld

?

根据https://developers.google.com/appengine/docs/python/gettingstarted/helloworld官方的说明建立helloworld项目

?

3.在本地发布helloworld

这个过程我遇见2个问题:

3.1.python版本的问提,之前因为装的是python3.2所以在发布的时候出现了一个方法没定义


Google app engine for pythone(gae)window环境搭建以及遇到的有关问题

3.2 使用google app engine?launcher没办法发布


Google app engine for pythone(gae)window环境搭建以及遇到的有关问题

看起来没什么错误,但就是没办法访问。不想把时间浪费在无谓的地方就没找原因了。

?

最后直接在cmd自己敲发布命令


Google app engine for pythone(gae)window环境搭建以及遇到的有关问题
?cd C:\Program Files\Google\google_appengine

?

dev_appserver.py -p 8080 D:\head_first_python\helloworld

?

参数说明:

-p 是端口号

D:\head_first_python\helloworld 是helloworld项目的路径

?

?

?

热点排行