https://prefect.io logo
a

Analytics BSTD

11/26/2020, 3:38 PM
Hi everyone, I've just started to use prefect and have created a simple test flow. It's working good localy, but when I added agent, I have an error: "ERROR - agent | Error while deploying flow: FileNotFoundError(2, ..." The code is here https://codeshare.io/5MO9xy How to fix this error?
c

Chris White

11/26/2020, 6:04 PM
Hi, your flow is stored in your local file system by default so your agent needs to run on the same machine. For more in depth info, check out the relevant docs: https://docs.prefect.io/orchestration/flow_config/storage.html#local