python2.7-pyrexc: 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 Debian possible default full paths are:

/usr/bin/python2.7-pyrexc - from package: python-pyrex

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