tor-prompt: 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/tor-prompt - from package: python-stem

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/tor-prompt - from package: python-stem

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