Install Python 2 on Ubuntu 20.04 Focal Fossa Linux - LinuxConfig.org

The Python 2 version is no longer a default Python version since Ubuntu 18.04. With a release of Ubuntu 20.04 the Python 2 on a default system installation has been also completely dropped hence you might encounter the following error when executing the python command:
Command 'python' not found
No despair, the Python 2 is not installed by default but it is still available for installation.
This is a companion discussion topic for the original entry at https://linuxconfig.org/install-python-2-on-ubuntu-20-04-focal-fossa-linux

Use sudo apt install python-is-python3 instead.
Python2 is already EOL. Just use python3 as default python