pwscore: 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/pwscore - from package: libpwquality

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

On Debian possible default full paths are:

/usr/bin/pwscore - from package: libpwquality-tools

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