mod_wsgi und mehrere Installationen von python

Dies ist eine Art Fortsetzung von diese Frage, aber es hat abgelenkt, so dass ich eine neue begonnen. Ich möchte in Python 2.5 anstelle von OS X ' s Standard 2.6. Ich habe für mein terminal und so weiter, aber wenn der apache läuft, es gibt mir die folgende Fehlermeldung ausgegeben:

[Thu Jun 23 00:01:42 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jun 23 00:01:42 2011] [warn] mod_wsgi: Compiled for Python/2.5.4.
[Thu Jun 23 00:01:42 2011] [warn] mod_wsgi: Runtime using Python/2.6.1.
[Thu Jun 23 00:01:42 2011] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 23 00:01:42 2011] [notice] Digest: done
[Thu Jun 23 00:01:42 2011] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8l DAV/2 mod_wsgi/3.3 Python/2.6.1 configured -- resuming normal operations

Ich habe WSGIPythonPath zu entsprechen, was sys.Pfad gibt mir in der python-shell:

WSGIPythonPath /System/Library/Frameworks/Python.framework/Versions/2.5

Immer noch kein Glück. Ideen?

InformationsquelleAutor der Frage Brian D | 2011-06-23

Schreibe einen Kommentar