Solve error: externally-managed-environment

When installing a python application with pip, shows this annoying error message:

Fix

To fix this annoying message; re-name/delete the file called EXTERNALLY-MANAGED. The file is located

xx is the python version

Rename the file

What is the purpose of this file ?

Conflict prevention: Ensures that Python packages installed by the system package manager are not overwritten or modified by pip installations.

System stability: Maintains the consistency and stability of the Python environment by avoiding uncontrolled modifications.

Why is this action needed? ?

When you try to install a package with pip in an environment marked as "externally managed", you get the error error: externally-managed-environment. This error indicates that pip detects the environment is managed by the system and prevents modifications to avoid potential conflicts.

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode