Externally-managed-environment error when installing multiQC with pip

When I tried to install MultiQC using pip install multiqc, I received the following error:

error: externally-managed-environment This environment is externally managed.

It suggests that the Python installation is managed by the system (Debian/Ubuntu) and recommends using apt, a virtual environment, or --break-system-packages.

?Could you please clarify why this happens when using pip