Activate virtualenv if in python file