24 Feb
2021
24 Feb
'21
12:47 p.m.
On Wed, 24 Feb 2021 at 18:25, Steve Dower <steve.dower@python.org> wrote:
I mean, this is _precisely_ what PEP 370 defines (including the "-s" option and PYTHONNOUSERSITE env variable to provide that one-way isolation).
Is the problem that pip doesn't use it by default?
Note that these days, pip *does* use usersite by default if site-packages isn't writable. Of course, if users run pip under sudo, that invalidates that mechanism :-( Paul