I am attempting to deploy django on a RHEL 5 server. My team decided they would really like Python 2.5, instead of the 2.4 that Red Hat supports and ships with. I installed python 2.5 to /usr/local so as not to interfere with the system's python living at /usr/lib. Then I downloaded the mod_python source and compiled against the new python installation. Then I did the traditional ./configure; make; make install (with all of the --with-python=... --with-apxs=...). At this point I have mod_python running, and the error pages report Python version 2.5.2. Unfortunately, the Python Executable reports itself as / usr/bin/python. That executable is version 2.4.3. I guess my question is, how can the version and the executable not match? I appended some interactive sessions to (hopefully) show I am not insane. Thanks in advance.
>From Error Page: Python Executable: /usr/bin/python Python Version: 2.5.2 [EMAIL PROTECTED] ~]$ /usr/bin/python Python 2.4.3 (#1, Mar 14 2007, 18:51:08) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.version 2.4.3 (#1, Mar 14 2007, 18:51:08) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] >>> print sys.executable /usr/bin/python >>> [EMAIL PROTECTED] ~]$ python2.5 Python 2.5.2 (r252:60911, Apr 19 2008, 06:33:52) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.version 2.5.2 (r252:60911, Apr 19 2008, 06:33:52) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] >>> print sys.executable /usr/local/bin/python2.5 >>> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---