[Google AppEngine] Launcher在Snow Leopard上修改Python路径
Saturday, November 7th, 2009Google AppEngine是在Python 2.5的环境下运行的,Snow Leopard已经把Python环境升级到2.6了,所以运行Google AppEngine Launcher要修改一下Python的环境变量。
用Finder打开当前用户目录下的Library/Preferences目录,双击com.google.GoogleAppEngineLauncher.plist文件,会自动调用系统Property List Editor打开文件。
增加一个新的Key,名字叫做Python,Type是String类型,Value是/usr/bin/python2.5。保存退出后打开Google AppEngine Launcher,启动一个app后,可以在Log Console里面见到:
Python command: /usr/bin/python2.5