https://www.kali.org/blog/python-externally-managed/
TL;DR: pip install is on the way out. Installing Python packages must be done via APT, aka. Kali Linux’s package manager. Python packages coming from other sources should be installed in virtual environments.
This is From Kali ^^^^