The best way to do this, I discovered about a year ago, is to use WSGI as a daemon and set the python path in the daemon directive. Example below
<VirtualHost *:80>
ServerName yourhost.com
<Directory />
Order deny,allow
</Directory>
WSGIScriptAlias / /opt/yourhost/wsgi.py
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess yourhost.com python-path=/opt/yourhost:/opt/yourhost/venv/lib/python2.7/site-packages processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup yourhost.com
</VirtualHost>
WSGISocketPrefix /var/run/wsgi
source
share