birden tesisat Bu this türden bir soru bir devamıdır, ama o kadar da yenisini başladı sapmış. OS X'in varsayılan 2.6 yerine Python 2.5 kullanmak istiyorum. Benim terminal ve etajer bu kurdum ama apache her çalıştığında bana aşağıdaki hata çıktı verir:mod_wsgi ve piton
[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
ben piton kabuğunda bana verdiği şeyi sys.path eşleşecek şekilde WSGIPythonPath belirledik:
YineWSGIPythonPath /System/Library/Frameworks/Python.framework/Versions/2.5
şans yok. Fikirler?
olası yinelenen Leopard] (http://stackoverflow.com/questions/3534508/building-mod-wsgi-using-python-2-5-on-snow-leopard) –
İlginç iş parçacığı, benim de sorunum. Tek bir kutuda birden fazla python sürümü kullanan birden fazla siteye nasıl ev sahipliği yapabilirim? – pylover