If I have a virtualenv activated when I do something like

sudo apt-get install python2.7-dev

should I expect different results than if I did it outside the virtual env?

Limited theory says no, but I'm not sure I'm aware of everything I should be.


virtualenv is Python-specific, so no: apt-get will operate in your whole system. Thus there will be no different results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.