Forums

can't find '__main__' module in '/'

Hello,

I have Django projects. I made scheduled task for python script. I can run manually this task without error. Scheduled task has such error: /usr/local/bin/python3.9: can't find 'main' module in '/'

How to solve it?

How does your command look like exactly? (If you don't want to share it on the forums, you can send us an email at support@pythonanywhere.com)

you have incorrect path to script probably. Doubled slash ?