This video explains what externally-managed Python environment is, why it matters, how to set it up and how to use it on a Debian-based Linux distribution such as Mint, Ubuntu and Raspberry Pi OS. Both command-line and graphical (VS Code) interfaces are covered.
0:00 Intro
0:46 Why the error happens
1:16 Debian package installation using apt
2:25 Installation using pip with --break-system-packages
3:12 Virtual per-account (shared) environment setup
4:18 Activation and deactivation of virtual environment
5:23 Running virtualized Python programs in the terminal
6:36 Virtual Python environment in VS Code
7:35 Per-project virtual environment drawbacks
8:28 Wrap-up
I really enjoy making YouTube videos and I appreciate that you watch them. Please subscribe and like my videos and I will keep making them. Constructive criticism is always welcome!
Music: Flying by Black Tribe, YouTube Music Library.