gather_profile_stats.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/django/bin/profiling/gather_profile_stats.pyc - from package: Django14

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