WSGI/APACHE - “ImportError: No module named site”

view story

http://serverfault.com – I am trying to get a django website up and running using WSGI. The box is running centos 5 with python 6. I am attempting to use the anaconda distribution from continuum analytics installed in /usr/local/lib/anaconda/. I built mod_wsgi with ./configure --with-python=/usr/local/lib/anaconda/bin/python/ I added the following to /etc/httpd/conf/httpd.conf: <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> #wsgi-scripts WSGIPythonHome /usr/local/lib/anaconda/bin WSGIScriptAlias /test /var/www/wsgi-scripts/te (HowTos)