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

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