[Django]-Setting up django on apache (mod_wsgi, virtualenv)

2👍

For anyone that might have similar problem as I did. You need to check the whole path privileges to the directory where your virtualenv is stored.

I checked the home directory and changed privileges, but forgot to change privileges to my user directory and that fixed the thing.

Hope this helps.

3👍

You haven’t added your actual virtualenv site-packages directory to the mix. Try:

import site
site.addsitedir('/path/to/your/virtualenv/lib/python2.X/site-packages')
# Where `X` is the specific version

Leave a comment