sphinx-autogen: 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/sphinx-autogen - from package: python-sphinx

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