2007年12月10日 星期一 16:29
mod_pythonÆô¶¯²»ÁË£¬ÊÇpythonµÄ°æ±¾²¿¶Ó£¬Õâ¸öÐèÒªÖØÐÂÍË»Øpython2.5ô£¿pythonµÄÈý·½°üÒ»´ó¶Ñ£¡#&¡Á@¡¡¡¡ ÏÂÃæÊÇApacheµÄÈÕÖ¾£º [Mon Dec 10 13:54:09 2007] [notice] Apache/2.2.6 (Win32) configured -- resuming normal operations [Mon Dec 10 13:54:09 2007] [notice] Server built: Sep 5 2007 08:58:56 [Mon Dec 10 13:54:09 2007] [notice] Parent: Created child process 5688 [Mon Dec 10 13:54:09 2007] [error] python_init: Python version mismatch, expected '2.5', found '2.5.1'. [Mon Dec 10 13:54:09 2007] [error] python_init: Python executable found 'C:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin\\httpd.exe'. [Mon Dec 10 13:54:09 2007] [error] python_init: Python path being used 'D:\\Python25\\Lib\\site-packages\\pamie20;D:\\Python25\\Lib\\idlelib; C:\\WINDOWS\\system32\\python25.zip; D:\\Python25\\DLLs; D:\\Python25\\lib; D:\\Python25\\lib\\plat-win; D:\\Python25\\lib\\lib-tk; D:\\Python25; D:\\Python25\\lib\\site-packages; D:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode;D:\\Python25\\Lib\\site-packages\\py2exe;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wx;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wxPython;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\django\\myproject;C:\\django\\myproject\\apps;C:\\WINDOWS\\system32\\python25.zip;D:\\Python25\\Lib;D:\\Python25\\DLLs;D:\\Python25\\Lib\\lib-tk;;C:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin'. 2007-12-10 tingsking -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071210/999c4779/attachment.html
2007年12月10日 星期一 17:20
mod_python和你系统安装的python的版本号不一致,主要末尾的那个小号 在 07-12-10,tingsking<tingsking在gmail.com> 写道: > > > mod_python启动不了,是python的版本部队,这个需要重新退回python2.5么?python的三方包一大堆!#&×@………… > 下面是Apache的日志: > [Mon Dec 10 13:54:09 2007] [notice] Apache/2.2.6 (Win32) configured -- > resuming normal operations > [Mon Dec 10 13:54:09 2007] [notice] Server built: Sep 5 2007 08:58:56 > [Mon Dec 10 13:54:09 2007] [notice] Parent: Created child process 5688 > [Mon Dec 10 13:54:09 2007] [error] python_init: Python version mismatch, > expected '2.5', found '2.5.1'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python executable found > 'C:\\Program Files\\Apache Software > Foundation\\Apache2.2\\bin\\httpd.exe'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python path being used > 'D:\\Python25\\Lib\\site-packages\\pamie20;D:\\Python25\\Lib\\idlelib; > C:\\WINDOWS\\system32\\python25.zip; D:\\Python25\\DLLs; > D:\\Python25\\lib; D:\\Python25\\lib\\plat-win; D:\\Python25\\lib\\lib-tk; > D:\\Python25; D:\\Python25\\lib\\site-packages; > D:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode;D:\\Python25\\Lib\\site-packages\\py2exe;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wx;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wxPython;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\django\\myproject;C:\\django\\myproject\\apps;C:\\WINDOWS\\system32\\python25.zip;D:\\Python25\\Lib;D:\\Python25\\DLLs;D:\\Python25\\Lib\\lib-tk;;C:\\Program > Files\\Apache Software Foundation\\Apache2.2\\bin'. > > > 2007-12-10 ________________________________ > > tingsking > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese >
2007年12月12日 星期三 09:25
Êǰ¡£¬Õâ¸öÎÒ×¢Òâµ½ÁË£¬ÏÖÔÚ¾ÍÊÇÏëÖªµÀÔõô½â¾ö£¿ ·ÇµÃÒªÖØÐ°²×°python£¿ÄÇô¶à¿â£¬ºÃÂé·³ 2007-12-12 tingsking ·¢¼þÈË£º Gerald Lee ·¢ËÍʱ¼ä£º 2007-12-10 17:23:05 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]mod_python¼ÓÔØ²»ÁË£¬ÊÇpythonµÄ°æ±¾²»¶Ô£¬ÐèÒªÖØÐÂÍË»Øpython2.5ô£¿ mod_pythonºÍÄãϵͳ°²×°µÄpythonµÄ°æ±¾ºÅ²»Ò»Ö£¬Ö÷ҪĩβµÄÄǸöСºÅ ÔÚ 07-12-10£¬tingsking <tingsking在gmail.com > дµÀ£º > > > mod_pythonÆô¶¯²»ÁË£¬ÊÇpythonµÄ°æ±¾²¿¶Ó£¬Õâ¸öÐèÒªÖØÐÂÍË»Øpython2.5ô£¿pythonµÄÈý·½°üÒ»´ó¶Ñ£¡#&¡Á@¡¡¡¡ > ÏÂÃæÊÇApacheµÄÈÕÖ¾£º > [Mon Dec 10 13:54:09 2007] [notice] Apache/2.2.6 (Win32) configured -- > resuming normal operations > [Mon Dec 10 13:54:09 2007] [notice] Server built: Sep 5 2007 08:58:56 > [Mon Dec 10 13:54:09 2007] [notice] Parent: Created child process 5688 > [Mon Dec 10 13:54:09 2007] [error] python_init: Python version mismatch, > expected '2.5', found '2.5.1'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python executable found > 'C:\\Program Files\\Apache Software > Foundation\\Apache2.2\\bin\\httpd.exe'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python path being used > 'D:\\Python25\\Lib\\site-packages\\pamie20;D:\\Python25\\Lib\\idlelib; > C:\\WINDOWS\\system32\\python25.zip; D:\\Python25\\DLLs; > D:\\Python25\\lib; D:\\Python25\\lib\\plat-win; D:\\Python25\\lib\\lib-tk; > D:\\Python25; D:\\Python25\\lib\\site-packages; > D:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode;D:\\Python25\\Lib\\site-packages\\py2exe;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wx;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wxPython;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\django\\myproject;C:\\django\\myproject\\apps;C:\\WINDOWS\\system32\\python25.zip;D:\\Python25\\Lib;D:\\Python25\\DLLs;D:\\Python25\\Lib\\lib-tk;;C:\\Program > Files\\Apache Software Foundation\\Apache2.2\\bin'. > > > 2007-12-10 ________________________________ > > tingsking > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071212/d700bf13/attachment-0003.html -------------- 下一部分 -------------- Ò»¸ö·ÇÎı¾¸½¼þ±»Çå³ý... ·¢ÐÅÈË: %(who)s Ö÷Ìâ: %(subject)s ÈÕÆÚ: %(date)s ´óС: 1662 Url: http://python.cn/pipermail/python-chinese/attachments/20071212/d700bf13/attachment-0003.gif
2007年12月12日 星期三 10:05
下mod_python的源码,重编译不就搞定。 或者可以试试fastcgi,呵呵。 ----- Original Message ----- From: tingsking To: python-chinese at lists.python.cn ; python-chinese at lists.python.cn Sent: Wednesday, December 12, 2007 9:25 AM Subject: Re: [python-chinese]mod_python加载不了,是python的版本不对,需要重新退回python2.5么? 是啊,这个我注意到了,现在就是想知道怎么解决? 非得要重新安装python?那么多库,好麻烦 2007-12-12 ------------------------------------------------------------------------------ tingsking ------------------------------------------------------------------------------ 发件人: Gerald Lee 发送时间: 2007-12-10 17:23:05 收件人: python-chinese at lists.python.cn 抄送: 主题: Re: [python-chinese]mod_python加载不了,是python的版本不对,需要重新退回python2.5么? mod_python和你系统安装的python的版本号不一致,主要末尾的那个小号 在 07-12-10,tingsking <tingsking at gmail.com > 写道: > > > mod_python启动不了,是python的版本部队,这个需要重新退回python2.5么?python的三方包一大堆!#&×@………… > 下面是Apache的日志: > [Mon Dec 10 13:54:09 2007] [notice] Apache/2.2.6 (Win32) configured -- > resuming normal operations > [Mon Dec 10 13:54:09 2007] [notice] Server built: Sep 5 2007 08:58:56 > [Mon Dec 10 13:54:09 2007] [notice] Parent: Created child process 5688 > [Mon Dec 10 13:54:09 2007] [error] python_init: Python version mismatch, > expected '2.5', found '2.5.1'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python executable found > 'C:\\Program Files\\Apache Software > Foundation\\Apache2.2\\bin\\httpd.exe'. > [Mon Dec 10 13:54:09 2007] [error] python_init: Python path being used > 'D:\\Python25\\Lib\\site-packages\\pamie20;D:\\Python25\\Lib\\idlelib; > C:\\WINDOWS\\system32\\python25.zip; D:\\Python25\\DLLs; > D:\\Python25\\lib; D:\\Python25\\lib\\plat-win; D:\\Python25\\lib\\lib-tk; > D:\\Python25; D:\\Python25\\lib\\site-packages; > D:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode;D:\\Python25\\Lib\\site-packages\\py2exe;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wx;D:\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode\\wxPython;D:\\Python25\\Lib\\site-packages\\django\\bin;C:\\django\\myproject;C:\\django\\myproject\\apps;C:\\WINDOWS\\system32\\python25.zip;D:\\Python25\\Lib;D:\\Python25\\DLLs;D:\\Python25\\Lib\\lib-tk;;C:\\Program > Files\\Apache Software Foundation\\Apache2.2\\bin'. > > > 2007-12-10 ________________________________ > > tingsking > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20071212/e12e0fc8/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1662 bytes Desc: not available Url : http://python.cn/pipermail/python-chinese/attachments/20071212/e12e0fc8/attachment-0001.gif
2007年12月12日 星期三 11:23
On Dec 12, 2007 9:25 AM, tingsking <tingsking在gmail.com> wrote: > 是啊,这个我注意到了,现在就是想知道怎么解决? > > 非得要重新安装python?那么多库,好麻烦 > > > mod_python 问题多多,在win32用问题就更多,因为你没有编译环境 如果是用来开发,建议用python自己的web server, 嫌内置的BaseHTTPServer不够用可以用pythonpaste或者cherrypy 如果是生产机部署,不建议用Windows, 换Linux或者FreeBSD吧 -- simple is good http://brucewang.net http://io.brucewang.net http://twitter.com/number5 skype: number5 -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20071212/7f9ded61/attachment.htm
2007年12月12日 星期三 12:34
我刚编译了一个,http://hivcc.com/python/mod_python-3.3.1.win32-py2.5.exe, 可以试试看。 其实编译是很容易的, 有VC7就很简单,dist/build_installer.bat 就搞定。没有怎么办?呵呵,我就没有,我用免费的Visual C++ Toolkit 2003,再下载安装Microsoft Platform SDK,一样免费,一样dist/build_installer.bat搞定。对python win32来说,搭建一个编译环境还是很简单的。 Windows也有Windows的好处,作server也是游刃有余,既然有就不要浪费了吧;-) ----- Original Message ----- From: Bruce Wang To: python-chinese at lists.python.cn Sent: Wednesday, December 12, 2007 11:23 AM Subject: Re: [python-chinese]mod_python加载不了,是python的版本不对,需要重新退回python2.5么? On Dec 12, 2007 9:25 AM, tingsking <tingsking at gmail.com> wrote: 是啊,这个我注意到了,现在就是想知道怎么解决? 非得要重新安装python?那么多库,好麻烦 mod_python 问题多多,在win32用问题就更多,因为你没有编译环境 如果是用来开发,建议用python自己的web server, 嫌内置的BaseHTTPServer不够用可以用pythonpaste或者cherrypy 如果是生产机部署,不建议用Windows, 换Linux或者FreeBSD吧 -- simple is good http://brucewang.net http://io.brucewang.net http://twitter.com/number5 skype: number5 ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20071212/86932344/attachment.html
2007年12月13日 星期四 11:55
VCC真NX,能够在Windows上面搞到一堆M$的免费的东西,辛苦辛苦! 呵呵 白猫黑猫,抓住老鼠就是好猫, VCC的这个方法基本上是最简单的,直接下他的exe去安装得了 不过对LZ这个连重新一下py库都觉得麻烦,那要搞一堆编译器、外加platform SDK(上周刚刚删掉 快大半年没有打开它了)。 岂不是要他老命! On Dec 12, 2007 12:34 PM, vcc <vcc at 163.com> wrote: > > > 我刚编译了一个,http://hivcc.com/python/mod_python-3.3.1.win32-py2.5.exe, 可以试试看。 > 其实编译是很容易的, 有VC7就很简单,dist/build_installer.bat 就搞定。没有怎么办?呵呵,我就没有,我用免费的Visual > C++ Toolkit 2003,再下载安装Microsoft Platform > SDK,一样免费,一样dist/build_installer.bat搞定。对python win32来说,搭建一个编译环境还是很简单的。 > > Windows也有Windows的好处,作server也是游刃有余,既然有就不要浪费了吧;-) > > > ----- Original Message ----- > > From: Bruce Wang > To: python-chinese at lists.python.cn > Sent: Wednesday, December 12, 2007 11:23 AM > Subject: Re: [python-chinese]mod_python加载不了,是python的版本不对,需要重新退回python2.5么? > > > > > On Dec 12, 2007 9:25 AM, tingsking <tingsking at gmail.com> wrote: > > > > > > > 是啊,这个我注意到了,现在就是想知道怎么解决? > > > > 非得要重新安装python?那么多库,好麻烦 > > > > > > > mod_python 问题多多,在win32用问题就更多,因为你没有编译环境 > 如果是用来开发,建议用python自己的web server, > 嫌内置的BaseHTTPServer不够用可以用pythonpaste或者cherrypy > 如果是生产机部署,不建议用Windows, 换Linux或者FreeBSD吧 > > > -- > simple is good > http://brucewang.net > http://io.brucewang.net > http://twitter.com/number5 > skype: number5 > > ________________________________ > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- 关注LAMP平台、安全、及web开发的个人blog: http://hackgou.itbbq.com PGP KeyID: hackgou#Gmail.com PGP KeyServ: subkeys.pgp.net
Zeuux © 2025
京ICP备05028076号