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