<br><br>On Wednesday, January 26, 2011 10:37:51 PM UTC+11, Juan A. Diaz wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div class="gmail_quote">On Wed, Jan 26, 2011 at 7:25 AM, Jan-Jaap Driessen <span dir="ltr">&lt;<a>jdri...@thehealthagency.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div><div></div><br></div>
Just an idea: would setting the WSGIPythonHome to a virgin virtualenv<br>
as described in [1] work?<br>
<br>
1) <a href="http://code.google.com/p/modwsgi/wiki/VirtualEnvironments" target="_blank">http://code.google.com/p/<wbr>modwsgi/wiki/<wbr>VirtualEnvironments</a><br>
<br>
--<br>
<font color="#888888">Jan-Jaap Driessen<br>
</font></blockquote></div><br>I Tried with both WSGIPythonPath and WSGIPythonHome, but not with both at the same time, and I get the same error.<br><br>The directives used are.<br><br>WSGIPythonHome /srv/grok/merlot/Merlot/bin<br>
<br>and <br><br>WSGIPythonPath /srv/grok/merlot/Merlot/lib/<wbr>python2.6/site-packages<br></blockquote><div><br></div><div>WSGIPythonPath only relates to embedded mode anyway. You were using daemon mode and so the equivalent is the python-path option to WSGIDaemonProcess.</div><div><br></div><div>Note that WSGIPythonHome is ignored if mod_python also loaded because in that situation mod_python is overriding mod_wsgi and initialises the Python interpreter. Thus mod_wsgi could not set up the home specified in WSGIPythonHome.</div><div><br></div><div>Graham</div>