终于在我的ibook上运行cherrypy了,确切的说是搞定了mac下的python2.4,从python.org下载MacPython2.4,安装后,python2.4被安装到/Library/Frameworks/Python.framework/Versions/2.4/,然后ln -s替换/usr/bin下的python即可。顺便附一段cherrypy的HelloWorld {{{#!python import cherrypy class Root: @cherrypy.expose def index(self): return "Hello World!" #index.exposed = True cherrypy.root = Root() #cherrypy.config.update(file = 'my.conf') cherrypy.server.start() }}}