Forums

Scheduled task failing with /bin/bash: python: command not found

Ever since the move to glastonbury in late Oct, all my Scheduled Tasks have been failing. After searching the forum, I found https://www.pythonanywhere.com/forums/topic/30597/ helpful and tried it but the job are still failing with this error:

/bin/bash: python: command not found

I created a new console window which did create a new .bashrc and .profile files but the error is still there. I created a test task with:

/usr/bin/which python; /usr/bin/which python3; /usr/bin/which python3.9

But I still get the same error.

Please help.

How does full line of your command look like? You could contact us at support@pythonanywhere.com if you don't want to share it on public forums.