generate_modules.pyc: 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/lib/python2.6/site-packages/askbot/bin/generate_modules.pyc - from package: askbot

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