[mod_python] errors in apache log

Graham Dumpleton graham.dumpleton at gmail.com
Thu Nov 26 15:51:48 EST 2009


It is a warning only, not an error and can be ignored.

It is safe because because on Windows the Python library is loaded
dynamically and so you will always pick up correct library for the
actual Python installation.

This only becomes a problem on UNIX systems where Python library is
linked statically into mod_python.

Graham

2009/11/27 Primožič Boštjan <bostjan.primozic at amis.net>:
> Hi,
>
> I'd like to know how to remove this errors.
>
> [Thu Nov 26 15:30:18 2009] [error] python_init: Python version mismatch,
> expected '2.5', found '2.5.4'.
> [Thu Nov 26 15:30:18 2009] [error] python_init: Python executable found
> 'C:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin\\httpd.exe'.
> [Thu Nov 26 15:30:18 2009] [error] python_init: Python path being used
> 'C:\\WINDOWS\\system32\\python25.zip;C:\\Python25\\Lib;C:\\Python25\\DLLs;C:\\Python25\\Lib\\lib-tk;;C:\\Program
> Files\\Apache Software Foundation\\Apache2.2\\bin'.
>
> I first install python 2.5.4 then apache 2.2 and last mod python 3.3.1. My
> OS is win XP sp3.
>
> Thank you very much, Bostjan
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>



More information about the Mod_python mailing list