@ttt126 ok… two things…

when posting config or logs info in the forum, please use the code-block wrapper

to use

paste the text you want to post, blank line above and below
select the text you just pasted
hit the </> button above the editor to add the wrapper

on linux, you can specify the program to launch to execute a ‘script/program’
you do this by adding a special first line #!/path_to_executable/programname

so in your case
from a terminal window do

which python3

the which pgm returns the full path to the 1st instance of the program specified as located along the path . on my desktop that is

which python3 /home/sam/anaconda3/bin/python3

then in you editor of your script, make this the 1st line

#!path_from_which

so it looks like this

#!/home/sam/anaconda3/bin/python3

the linux execution code does all this stuff under the covers, reads the 1st line and invokes that pgm with the arguments passed to the script
and of course, if no #! then the script USER has to specify it like you did