I am trying to run my code on prefect cloud through me local machine, but getting some errors like this.
“Failed to load and execute flow run: FlowStorageError(‘An error occurred while unpickling the flow:\n AppRegistryNotReady(“Apps aren't loaded yet.”)’)”
1 Like
This is an issue with pickle serialization in your storage - this often happens when you register your flow in an environment with a specific Prefect and Python version, but you then run it in an environment with a different Prefect and python version.
You could:
- match the versions between your registration and execution environment and potentially reregister your flow
- switch to script storage: Storage | Prefect Docs
For more examples of how you may configure various storage options, check out this repo: