Hi Folks!
I am facing an issue in running a flow on schedule after registering it on prefect cloud.
I am getting the following error in logs in prefect cloud
Copy code
Failed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'google.api\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
I tried running the flow by putting the
flow.run
instead of
flow.register
and then ran the flow using
python3 workflow.py
. And its running fine. The agent is installed on the same machine from where I ran the flow manually. So registering and running are done from the same machine.
So I cannot understand why such error is thrown.
Can anybody help?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.