Getting the 'python error: externally-managed-environment' – How to Fix and Work Around It?

18 Replies, 1802 Views

Hey everyone,

So I’ve been trying to install a package using pip, and I keep getting this *python error: externally-managed-environment*. Like, what even is that? 😅

I’m on a Linux system, and it’s saying something about the environment being managed by the OS package manager. I get that, but how do I work around it? I just wanna install my package without messing up the system.

Has anyone else run into this? What’s the easiest fix? I’ve seen some stuff about using `--break-system-packages`, but that feels sketchy. Are there better ways?

Thanks in advance! 🙏

Messages In This Thread
Getting the 'python error: externally-managed-environment' – How to Fix and Work Around It? - by - 28-11-2024, 05:24 PM



Users browsing this thread: 1 Guest(s)