Miroslav Rác01/28/2022, 1:35 PM
… Obviously, when I created my flow, my local path has been probably been pickled and so it cannot run on another machine. Is this expected behavior? How can I run flows created on a different machine?
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/Users/miro/'")
, etc.). During a flow run execution, Prefect pulls the flow from the storage location and runs it. If users don’t specify any storage, it defaults to a
storage, which is a serialized version of the flow stored in the
folder. At runtime, the flow is retrieved from this file. The error you see happens when you use the default
storage during the registration, and then you run the flow on a different machine (or a container) that doesn’t have the flow file (exactly as you noticed yourself).
Miroslav Rác01/28/2022, 2:08 PM
Miroslav Rác01/28/2022, 7:40 PM
Miroslav Rác01/28/2022, 7:52 PM
looks like a good solution, thank you very much. Looks like we will opt for Prefect, I have better feeling about it. btw the blog article you have linked has the gists embeds blocked. but I think I get the point. thank you I appreciate your help
Miroslav Rác01/28/2022, 7:57 PM