On Mon, 07 May 2007 09:19:58 -0700, RollyF wrote:

> I am using fedora 6 distribution which comes with Python 2.4.3. I then
> installed Python 2.5.1 and re-installed the  packages I needed for my
> application. I verified that at the terminal, when I typed in "python",
> what's loaded is Python 2.5. I am runnign apache2 and mod_python. I
> recompiled and installed mod_python to python 2.5. When I run my
> application, it's coming back with:
>
> ...
>
> How do I configure Apache2 or mod_python to use Python 2.5?

The packages that Fedora provide will use the system's python 2.4 
libraries and modules. To change this, you will need to rebuild 
mod_python against your python2.5 installation. There are many ways to go 
about this, someone more familiar with Fedora might be able to help you 
with the specifics, but broadly:

 1. Remove the existing package of mod_python that is installed
 2. Grab the mod_python sources from <http://www.modpython.org/>
 3. Follow the installation instructions at <http://www.modpython.org/
live/current/doc-html/installation.html>. Make sure you tell mod_python's 
configure script where to find your local installation of python2.5 by 
using an option like: --with-python=/usr/local/bin/python.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to