python2: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/python2 - from package: python

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/python2 - from package: python-minimal

You may install the required package with command apt-get install {package}
Error in other languages:
python2: bevel nie gevind nie
python2: comandă negăsită
python2: comando não encontrado
python2: commande introuvable
python2: command not found
python2: käsku ei ole
python2: không tìm thấy lệnh
python2: komanda nerasta
python2: Kommando nicht gefunden.
python2: kommandot finns inte
python2: komut yok
python2: nie znaleziono polecenia
python2: níor aimsíodh an t-ordú
python2: no se encontró la orden
python2: no s'ha trobat l'ordre
python2: opdracht niet gevonden
python2: parancs nem található
python2: perintah tidak ditemukan
python2: príkaz nenájdený
python2: příkaz nenalezen
python2: команда не найдена
python2: командата не е открита
python2: 命令找不到
python2: コマンドが見つかりません