I’m facing a problem when using the global task scheduler. The
setup.py where I schedule the tasks is set at the same path level as
app.py where I serve it. I understand that they need to be separate. It happens that the
setup.py imports some files coming from the webapp folder but not from
The webapp when served works perfectly on Windows, but does not on Ubuntu. For some reason, the imported files are not found, although, when calling
os.getcwd(), it proves that its path is set correctly.
It seems I cannot reuse methods and classes I have built in this folder when importing them to
setup.py. It’s a very weird case I have. Would appreciate the help.