This bit of text should give you a good hint as to why this error is popping up:
You may restore the old behavior of pip by passing
the '--break-system-packages' flag to pip, or by adding
'break-system-packages = true' to your pip.conf file. The latter
will permanently disable this error.
Installing python packages and raw digging them on your system used to break python based system dependencies quite a lot back in the day.
https://jairoandres.com/python-dependencies-break-your-system-if-you-want/
Just use a venv: