added ability to activate a virtualenv before 
running pip install
Merge pull request #5095 from binarydud/fix-activate-venv-for-pip

fixes #5093