Дайте выхлоп следующих команд:
python -V
python3 -V
python -m pip -V
python3 -m pip -V
root@udaff-vm06:~/linuxfactory/infra/inventory# python -V
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
root@udaff-vm06:~/linuxfactory/infra/inventory# python3 -V
Python 3.12.3
root@udaff-vm06:~/linuxfactory/infra/inventory# python -m pip -V
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
root@udaff-vm06:~/linuxfactory/infra/inventory# python3 -m pip -V
/usr/bin/python3: No module named pip
root@udaff-vm06:~/linuxfactory/infra/inventory#