Hi I am facing an issue
I have created an extraction flow and run it locally , its working fine, this program contains one task and inside this task its calling another function from different python module
assume like above , its working in local but when i register the flow in cloud its failed saying abc not found
how can we resolve this
should I write all the logic inside task function itself ??
01/27/2022, 3:39 PM
Are you still running locally? Or running on a different machine? You need to have these modules available in the execution environment
01/27/2022, 3:42 PM
this is in aws ec2 machine , and all these modules are available in this machine in the same folder itself
when I run the prefect flow locally its running fine
the issue is when i set the backend to cloud and and trying to run it in cloud it shows
that this module
should I mention the local file path somehere when we start the agent ?
01/27/2022, 3:44 PM
You can set a working directory that has access to the module. Check this