I am trying to run aiflow on ec2 machine.I am running the webserver in one terminal and scheduler in the other terminal.while running both of these in foreground, there are no import errors.And when I run these in deamon mode using the ‘-D’ flag these throw import errors.
I am deplying the pipeline on ec2 to run in deamon mode.I have some user defined module from which I am importing it in my tasks.(i.e a yaml file).Hence when I am reading this file to get variables in the code and running this in foreground, I have no import erros and running it in deamon mode throws import errors like this.
In this while running it in foreground gives no import errors.
Can any one help me out with this issue and help me identify what am I missing out?