If you frequently work with Python and recently shifted to Ubuntu 23.04 or Fedora version 38, chances are you came across the "externally-managed-environment" error when installing packages with the Python package manager, pip.
How to Fix the pip "externally-managed-environment" Error on Linux
If you've recently come across the "externally-managed-environment" error while installing pip packages on Linux, here's how to fix it.