pygettext: 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/pygettext - from package: python

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