के कई इंस्टॉलेशन this प्रश्न की निरंतरता है, लेकिन यह विचलित हो गया है इसलिए मैंने एक नया शुरू किया। मैं ओएस एक्स के डिफ़ॉल्ट 2.6 के बजाय पायथन 2.5 का उपयोग करना चाहता हूं। मैं अपने टर्मिनल और whatnot के लिए इस सेट कर लेते हैं, लेकिन जब भी अपाचे चलाता है यह मुझे निम्न त्रुटि आउटपुट देता है:mod_wsgi और पायथन
[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
मैं मैच के लिए क्या sys.path मुझे अजगर खोल में देता है WSGIPythonPath निर्धारित किया है:
WSGIPythonPath /System/Library/Frameworks/Python.framework/Versions/2.5
अभी भी कोई भाग्य नहीं है। विचार?
संभव डुप्लिकेट तेंदुए] (http://stackoverflow.com/questions/3534508/building-mod-wsgi-using-python-2-5-on-now-leopard) –
दिलचस्प धागा, मेरी समस्या भी है। तो एकल बॉक्स पर एकाधिक पायथन संस्करणों का उपयोग करने वाली कई साइटों को कैसे होस्ट किया जा सकता है? – pylover