Are you loading mod_python at same time into same Apache? If you are, remove mod_python from Apache configuration and don't use it. If mod_python still loaded then it could be overriding what Python is used.
Also, what do you get for: ldd mod_wsgi.so Graham On 10 February 2011 17:37, commonzenpython <[email protected]> wrote: > hello, i have two python versions installed on my server 2.4.3 and > 2.7 , i have been running django on 2.4.3 for about 6 months and now i > want to switch to 2.7, so i installed python 2.7 by building it from > source, then i recompiled the mod_wsgi : > ./configure --with-python=/usr/local/bin/python2.7 > > and also used WSGIPythonHome /usr/local and it still uses 2.4, so how > can i get it to use 2.7 ? > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
