pw_export.x: 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/pw_export.x - from package: quantum-espresso

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

On Debian possible default full paths are:

/usr/bin/pw_export.x - from package: quantum-espresso

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