event_rpcgen.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/event_rpcgen.py - from package: libevent2-devel
/usr/bin/event_rpcgen.py - from package: libevent-devel

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