pcsc-spy: 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 Debian possible default full paths are:

/usr/bin/pcsc-spy - from package: libpcsclite-dev

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