wish: 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/wish - from package: tk

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

On Debian possible default full paths are:

/usr/bin/wish - from package: tk

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