Problem appeared building Ardupilot after a new clone

I got a new issue after doing a fresh clone in Ubuntu 20. How can I fix this? It would be nice if fixing this issue is part of the tools installation. Thanks a lot.

git clone --recursive GitHub - ArduPilot/ardupilot: ArduPlane, ArduCopter, ArduRover, ArduSub source
cd ardupilot
./waf configure --board Pixhawk1
./waf copter
you need to install empy with ‘python -m pip install empy’

python -m pip install empy

/usr/bin/python: No module named pip

sudo apt-get install python3-pip -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Python 2 is missing pip, not python3

do:

sudo apt-get install python-pip -y

what installation instructions did you follow ?
Focal should works nice, that is in fact the only one still passing the tests … test environment setup · ArduPilot/ardupilot@38a9269 · GitHub

@amilcarlucas focal is python3 not python2

This one: Setting up the Build Environment (Linux/Ubuntu) — Dev documentation
But it does not mention anything about installing python stuff.

user@ubuntu-lenovo:~$ sudo apt-get install python3-pip -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
The following packages were automatically installed and are no longer required:
usb-modeswitch usb-modeswitch-data
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo pip3 install -U empy pexpect ptyprocess would solve this issue

You probably encounter an issue on the Tools/environment_install/install-prereqs-ubuntu.sh run. I will double check that nothing have move again …