I thought better a discussion, rather than an straight-to-issue.
Inspired by a discussion on Twitter, something that’s been on my mind for a while, is can we
PIP_REQUIRE_VIRTUALENV default to true?
I kind of think, this would solve 90% of the complaints folks have with venvs (not understanding them, forgetting to set them up, and so on…) If, from day one, unless you explicitly passed a flag to do otherwise,
pip would have your back in making sure you had a venv active, with an awesome Elm-like error message, saying just what you needed to do.
Jannis mentioned (on the discussion) that this was considered originally:
On hindsight practicality should have beat purity.
I know it would be a change, but one for the good, I think. Would it be possible? Are they strong reasons why not?
Thanks for the thoughts.