Forums

Virtualenv not loading on server

Hi,

I believe that a django application I am using isn't actually loading the virtualenv when I go to benmusch.pythonanywhere.com. I am using django 1.6

When I go to benmusch.pythonanywhere.com right now, I get a 502 error with no error message in the logs.

When I run python /var/www/benmusch_pythonanywhere_com_wsgi.py in the virtualenv, it works. When I run it outside of the virtuenv, I get the error message There is no South database module 'south.db.sqlite3' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

Is there an additional step I need to take to get the server to actually use the virtualenv by default?

Have you specified that your web app should use the virtualenv? The south error that you get in the console is being put into your server log for some reason.

Just noticed I forgot that, came here to post that. I forgot to specify the virtualenv

Is everything working OK now?