I downloaded and installed mod_wsgi 3.0c4. But I'm still getting the same error. Here is the tail on the apache log:
[Mon Aug 31 23:57:03 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Aug 31 23:57:03 2009] [warn] mod_wsgi: Compiled for Python/2.6.2. [Mon Aug 31 23:57:03 2009] [warn] mod_wsgi: Runtime using Python/ 2.6.1. [Mon Aug 31 23:57:03 2009] [notice] Digest: generating secret for digest authentication ... [Mon Aug 31 23:57:03 2009] [notice] Digest: done [Mon Aug 31 23:57:03 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/ 2.2.11 OpenSSL/0.9.8k DAV/2 mod_wsgi/3.0c4 Python/2.6.1 configured -- resuming normal operations Sachin On Aug 31, 11:42 pm, Graham Dumpleton <[email protected]> wrote: > Try with mod_wsgi 3.0c4, or replace the configure script in mod_wsgi 2.5 with: > > http://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X/configure > > and tell me if it works. > > Pending mod_wsgi 2.6 had further tweaks related to MacOS X builds > which may have already addressed this. > > Graham > > 2009/9/1 sachin <[email protected]>: > > > > > I had Apple-supplied Apache and Python 2.6.2 built from source (with > > all archs) and mod_wsgi 2.5 working fine on my box. But I just > > upgraded to Mac OS X Snow Leopard, which installed a version of Python > > on the box which is older than the one I want to use (2.6.1). > > > Now I am getting the following warning: > > [Mon Aug 31 23:26:56 2009] [warn] mod_wsgi: Compiled for Python/2.6.2. > > [Mon Aug 31 23:26:56 2009] [warn] mod_wsgi: Runtime using Python/ > > 2.6.1. > > > I recompiled mod_wsgi pointing explicitly to the 2.6.2 version that I > > want with the following command: > > > ./configure --with-python=/usr/local/python-2.6.2/frameworks/ > > Python.framework/Versions/2.6/bin/python2.6 > > > I also modified my httpd.conf to include the following python home > > directive: > > > WSGIPythonHome /usr/local/python-2.6.2/frameworks/Python.framework/ > > Versions/2.6 > > > After stopping and starting the apachectl numerous times, I still get > > the same compiled\runtime mismatch. > > > I saw in the docs this could be related to having mod_python installed > > as well, but I have never installed mod_python and did not find a > > mod_python.so or load directive in my httpd.conf. > > > Any help would be appreciated! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
