I was trying to make a discord bot following this tutorial(https://www.youtube.com/watch?v=m0waZ5BMoXk) and fixed all errors, but i keep getting this output.
When i try running the code with Ctrl+Shift+B, the output thing says bash: python: comando não encontrado [Finished in 0.0s with exit code 127] [shell_cmd: python -u "/home/neyde/Área de Trabalho/main.py"] [dir: /home/neyde/Área de Trabalho] [path: /home/neyde/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]
. I have ran these commands(https://pastebin.com/ejZVf79P) before doing this. I really need help.
I am running Linux Ubuntu LTS 20.04.
I Keep Getting An Error
ADiscordDev
#1
0 Likes
bschaaf
#2
Does running python -u "/home/neyde/Área de Trabalho/main.py"
work from the command line?
0 Likes
ADiscordDev
#3
No, the terminal said:
Command ‘python’ not found, did you mean:
command python3 from deb python3 deb python-is-python3 'python' command
I’m considering replacing python -u "/home/neyde/Área de Trabalho/main.py"
with python3 -u "/home/neyde/Área de Trabalho/main.py"
0 Likes