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

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