Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Installed the BitNami Trac Stack on a new Windows 2003 R2 Virtual Server to replace an aging Subversion/Trac installation on a rapidly failing physical server. I am adapting the default installation a little to make Subversion available through HTTP. I added LDAP support to Apache and restarted the service to be presented with the following messages:

[error] python_init: Python version mismatch, expected '2.5', found '2.5.4'.
[error] python_init: Python executable found 'D:\\PROJEC~1\\apache2\\bin\\httpd.exe'.
[error] python_init: Python path being used 'D:\\PROJEC~1\\apache2\\bin\\python25.zip;D:\\PROJEC~1\\apache2\\bin\\DLLs;D:\\PROJEC~1\\apache2\\bin\\lib;D:\\PROJEC~1\\apache2\\bin\\lib\\plat-win;D:\\PROJEC~1\\apache2\\bin\\lib\\lib-tk;D:\\PROJEC~1\\apache2\\bin'.

It doesn't appear to affect the performance of Apache or Trac, searching through various forums doesn't give an answer although there are quite a few posts mentioning problems adding users in Trac with the above errors.

  • Is this a false error report?
  • Can the message be resolved or suppressed?
share|improve this question

1 Answer 1

up vote 3 down vote accepted

That's because the version of mod_python you're using was compiled for Python 2.5 and not 2.5.4.

On Windows that's not really a problem because the python library is loaded dynamically, so you'll always have the latest version.

It's unlike unix systems where it's static.

What you can do to remove this warning, is compiling your version of mod_python for your actual version of Python, but preferably use the latest version of mod_python (3.3.1 now).

share|improve this answer
    
On UNIX systems mod_python wouldn't normally link statically to Python library either so long as Python was installed such that it provided a shared library. –  Graham Dumpleton Mar 2 '10 at 10:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.