--- pip-24.1.2/src/pip/_internal/utils/misc.py.orig	2024-07-07 20:36:57.000000000 +0200
+++ pip-24.1.2/src/pip/_internal/utils/misc.py	2024-11-02 11:26:52.752980600 +0100
@@ -612,7 +612,9 @@
     marker = os.path.join(sysconfig.get_path("stdlib"), "EXTERNALLY-MANAGED")
     if not os.path.isfile(marker):
         return
-    raise ExternallyManagedEnvironment.from_config(marker)
+    exc = ExternallyManagedEnvironment.from_config(marker)
+    exc.kind = "warning"
+    logger.warning("%s", exc, extra={"rich": True})
 
 
 def is_console_interactive() -> bool:
