Google App Engine on Ubuntu 9.04

2009-05-25
Google App Engine官方所支持的python版本为2.5,BUT Ubuntu 9.04默认使用的是python 2.6.2,这样在本地测试时就会遇到点问题了,比如会出现如下的异常:
Throwing : No module named _multiprocessing

不过幸好,我们只要转回2.5版本就平安大吉了,步骤如下:
  • sudo apt-get install python2.5
  • 修改dev_appserver.py文件,将第一行替换为#!/usr/bin/env python2.5
  • OK~~

M-OSCAR | Powered by Blogger | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com