oh my mistake, link web2py.app/Contents/MacOS/python to osx's default python works fine.
On Saturday, October 13, 2012 10:29:20 AM UTC+8, vince wrote: > > i am using osx 10.8 so the default python should be 2.7. however i notice > the mac package of web2py 2.0.9 bundle with the python 2.5.1 binary. > > i just tried to link the python binary inside web2py.app/Contents/MacOS to > the 2.7 version from osx but it fail to start. > > On Saturday, October 13, 2012 10:10:33 AM UTC+8, Massimo Di Pierro wrote: >> >> I experience the same when I use python25 on my mac and python27 on my >> linux vm. I believe it is because of this bug in python25 >> >> http://bugs.python.org/issue1385 >> >> Could this be the same case as yours? >> >> On Friday, 12 October 2012 20:51:49 UTC-5, vince wrote: >>> >>> i tried web2py on linux with source code version and on osx with the mac >>> version, both connected to the same mysql backend. >>> >>> i have notice the user created on linux can only access on linux, login >>> from osx will be invalid login. it's the same on osx the other way around. >>> >>> >>> --