python3m-config: 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/python3m-config - from package: python3-dev

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