02/28/2023, 11:29 AM
Hi, I am trying to get started with prefect cloud. I have a server that is supposed to run the jobs. I logged that server into the prefect cloud and started a task-runner. I have different flows and a few deployments. I could run all of these locally. I am now seeming to run into path issues. The deployments are created using Deployment.build_from_flow where path is
path=os.getcwd() + "/flows
The test flow runs the following command:
        command="python3 src/", return_all=True
The project structure is as follows: project - flows -- -- - src -- I run the task runner from the project root with
prefect agent start -p default-agent-pool
I applied the deployments and see them in the cloud and can start them from there. The error I get is:
can't open file /tmp/tmp6ohfe_wcprefect/src/ [Errno 2] No such file or directory
After exiting the process not even
exists, but I dont know if this is because prefect tears it down. Any help regarding this would be very appreciated. I hope i provided enough information to help with this. If not, let me know.