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

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

On Debian possible default full paths are:

/usr/bin/pygmentize - from package: python-pygments

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