Deepak Pilligundla
08/12/2022, 6:23 PMFailed to load and execute Flow's environment: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'redshift_connector\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
emre
08/12/2022, 6:35 PMredshift_connector
module in your local environment, or is it pip installed? It seems like it is a local module, and it isn't present in the environment that you are attempting to register from.Deepak Pilligundla
08/15/2022, 3:34 PMemre
08/15/2022, 5:01 PMPYTHONPATH
, and not simply in the default working directory of your docker container?
I'm asking this because I believe prefect ends up running on a different working directory when it is triggered by prefect server, since it overwrites your docker CMD
Deepak Pilligundla
08/15/2022, 7:16 PM