Good evening! After setting up a new webserver with Python & mod_wsgi I am in a somehow weird situation:
Preinstalled with the OSĀ is a Python 2.5 installation, with its sys.path at /usr/lib/... For my usage I installed Python 2.5.4 with its sys.path at /opt/ python2.5/... This is the "default" version of Python, when start python from the console it uses this one (with the right sys.path) Now the wsgi-script on the other hand imports sys, and uses the right Python version but the wrong sys.path (from the other Python version...) I would really appreciate any comments regarding this problem. Thank you in advance, regards, lukas PS: the resulting apache error.log messages: [warn] mod_wsgi: Runtime using Python/2.5.4. [warn] mod_wsgi: Python module path '/usr/lib/python25.zip:/usr/lib/ python2.5/:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/lib-tk:/ usr/lib/python2.5/lib-dynload'. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
