OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.

Guides
237
Favorites
0
237 launch guides · 2543 reviewed steps
1 of 237 guides

Packages & Updates · Software Engineering

Fix error: externally-managed-environment on Ubuntu safely

The error: externally-managed-environment means pip has refused to modify an Ubuntu-managed Python installation. This guide shows how to identify the interpreter you are using, preserve operating-system package ownership, and choose the correct safe route: apt for Ubuntu packages, a project virtual environment for libraries, pipx for command-line applications, or an isolated container for disposable work.
Save to collectionCreate a collection in the sidebar first.
caution25 minbeginner8 stepsUbuntu