2 ms·
>Having a system venv - managed by the system's package manager - would mean this "root cause" would go away, no? Oh, but you need to explain to pip that it's
by faho 5y ago
>Having a system venv - managed by the system's package manager - would mean this "root cause" would go away, no?
Oh, but you need to explain to pip that it's managed by the system's package manager. Which is what this does with the "EXTERNALLY-MANAGED" file.
And you need to do that because the system's package manager and pip have separate sources - with `pip` you get the packages from pypi, with the system's package manager from its repo.
- uranusjr 5y agoTo supplement, the “root” issue of the whole situation is some users are actively installing things into that system env. So the PEP is providing a mechanism for pip to detect it’s being used to install things into a system env and have a chance to refuse.