Hemabh Kamboj

06/10/2022, 11:24 AM
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
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
instead of
and then ran the flow using
. 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?

Anna Geller

06/10/2022, 11:34 AM

Hemabh Kamboj

06/11/2022, 9:21 AM
Thank you so much @Anna Geller, will take a look and try fixing.
👍 1