Hacker News new | ask | show | jobs
by pdubroy 5428 days ago
One of the nice things about virtualenv is that it installs a copy of pip into every virtual environment you create. If you always have one of the environments active, there's no need to even install pip globally.
1 comments

Except for when you DO want to install a package globally. Utilities like pyflakes and fabric, for example.
On my personal machines (effectively single-user), I find there's no need to install packages globally. I have a default virtual environment that I activate in my .profile, and anything that's not project-specific gets installed there.

Not saying everyone should do this, but it works well for me.

thats such a hassle. though, why dont you just install global requirements in the base machine, you wont always have to keep turning on virtualenvs.