gmock_doctor.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/gmock_doctor.py - from package: gmock-devel

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