gather_profile_stats.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/python2.6/site-packages/django/bin/profiling/gather_profile_stats.pyo - from package: Django14

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