reset_pw.pyo: 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/mailman/bin/reset_pw.pyo - from package: mailman

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