Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there anyway of getting mod python to run on the latest version of python, or do i have to downgrade my python installation to 2.5.5?

share|improve this question

migrated from Apr 28 '10 at 15:20

This question came from our site for computer enthusiasts and power users.

user crosspost on SO:… – quack quixote Apr 28 '10 at 15:17
up vote 2 down vote accepted

This doesn't answer your question, but mod_wsgi has pretty much superseded mod_python. If possible, I'd consider using it

share|improve this answer

You need to build it using python 2.6's development libraries afaik, but a much better solution is to use FastCGI/SCGI, which will let you run not only multiple versions of python on apache, but also multiple versions of php, ruby, and other webapps, even if you decide you want to move to lighttpd, nginx, or some other webserver too. It's not without issues, but the (relatively) standardised interface that FastCGI provides is seriously underrated. Getting started with mod_fcgid on apache isn't much trouble at all.

share|improve this answer

You didn't say which operating system you're running but I see that under Debian it's not supported under Python 2.6 or higher, even in the testing or unstable version.

Mod_python is pretty much obsolete. Most people have switched to mod_wsgi and are building Python apps using wsgi compatible frameworks such as Django, Pylons etc.

share|improve this answer

That you are even asking makes me think you are using Windows.

Windows binaries for mod_python are only available up to Python 2.5. There are no binaries for mod_python for Python 2.6 and Python 3.X is not supported at all by mod_python. You could build mod_python yourself from source code, but you will need Visual Studio 2008.

On most UNIX systems which provide binary packages, you should have no issues finding mod_python for Python 2.6.

share|improve this answer

Your Answer


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.