https://prefect.io logo
#prefect-community
Title
# prefect-community
h

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
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?
1
a

Anna Geller

06/10/2022, 11:34 AM
h

Hemabh Kamboj

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