smartypants: 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/smartypants - from package: python-smartypants

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