I wrote the command correctly python3.10.5 /home/modifynur/bot3/main.py
but in log i see
2024-01-02 05:42:02 - Task preparing to start
Jan 2 05:45:12 bash: python3.10.5: command not found
And the state is 'starting'. What do i do?
I wrote the command correctly python3.10.5 /home/modifynur/bot3/main.py
but in log i see
2024-01-02 05:42:02 - Task preparing to start
Jan 2 05:45:12 bash: python3.10.5: command not found
And the state is 'starting'. What do i do?
You should just use "python3.10", not "python3.10.5".
(The state is "Starting" because it starts up, fails to run due to the error in the command, so it then tries to start up again, and so on.)
I changed it, but now i got different error
Jan 2 17:32:10 python3.10: can't open file '/home/modifynur/bot3/main.py': [Errno 2] No such file or directory
But the file is in there, i checked it ten times. From the console it worked fine(((
That looks like a upper case/lower case issue. Your username is "Modifynur" with a capital "M", so it needs to be the same in the command.
thank you so much!
Glad to hear that we were able to help!