pinentry-qt: 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/pinentry-qt - from package: pinentry-qt

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