system Python
The copy of Python that the operating system installs for its own tools, which you should leave alone.
In more detail
macOS and most Linux distributions include a python3 their own programs depend on. Installing or upgrading packages into it can break those tools, and an update can undo your changes. Install your own Python for your work, and use virtual environments for packages.
Related terms
- externally managed environment — A marker, defined in PEP 668, that tells pip a Python belongs to the operating system or another package manager and must not be changed with pip.
- virtual environment — A self-contained folder with its own Python and its own installed packages, so each project's packages stay separate.
- macOS — Apple's operating system for Mac computers, built on a Unix-like core called Darwin.
- Linux — A free, open-source operating system kernel, and the family of operating systems built around it.
Taught in
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book
- Where Python Lives: PATH And Versions — Hands-on Python: Complete Video Course & Book