[Django]-Fabric: unable to get environment variables within virtualenv

3👍

Common problem is that .bashrc file is never executed. Type env and check if ENV variable is there.

10👍

There is one more case when fabric ignores .bashrc.
Often .bashrc contains following line:

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

Comment it out.

Leave a comment