Pipx
From Reboil
pipx is a wrapper function for pip to allow installing and running Python packages in user-space instead of modifying operating system executables often shared by system programs.
Stats
- Homepage: https://github.com/pypa/pipx
- Debian package tracker: https://tracker.debian.org/pkg/python-pipx
History
- 2021-05: PEP 668[1] was published which recommends python package managers install packages requested by users in local user space rather than global system space.[cmt 1] pip subsequently warns users against installing packages without an extra explicit option.
See also
External links
References
- ↑ Geoffrey Thomas; Matthias Klose; Filipe Laíns; Donald Stufft; Tzu-ping Chung; Stefano Rivera; Elana Hashman; Pradyun Gedam. (2021-05-18). “PEP 668 – Marking Python base environments as “externally managed””. python.org. Accessed 2025-01-18. “This PEP proposes a mechanism for a Python installation to communicate to tools like pip that its global package installation context is managed by some means external to Python, such as an OS package manager. It specifies that Python-specific package management tools should neither install nor remove packages into the interpreter’s global context, by default, and should instead guide the end user towards using a virtual environment.”.
Footnotes
Comments
- ↑ Baltakatei: 2025-01-18: Although not precisely the local/global concept, User space and kernel space is almost nearly this idea.