Handling Externally Managed Environment Packages that are Outdated

That seems like a pretty good solution for this. Having a single main venv for all packages the packages (and incidentally solves the issue I mentioned before about large packages as well). But it raises the question: Why is that not the behavior that we take by default. Maybe Python/pip should automatically create a “user venv” instead of blocking installing packages with pip altogether? Wouldn’t that be a more streamlined way of handling things that preserves the distro-level packages, but also makes a more seamless transition from what user’s have done for years.

The thing is, using that command still results in the “System Managed Installation” warning, so you still need to use the --break-system-packages flag, as you could technically still end up shadowing system packages in a breaking way (at least, according to this post)

1 Like