Vamsi Reddy
11/05/2021, 2:51 PMFailed to load and execute Flow's environment: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'utils\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
I am able to run the flow locally but i get the error when i trigger it from the prefect cloud.Kevin Kho
Vamsi Reddy
11/05/2021, 2:54 PMKevin Kho
working_dir
to point it to a place where you can import the utils
flow.run_config = LocalRun(working_dir="/path/to/working-directory")
Vamsi Reddy
11/05/2021, 2:56 PMVamsi Reddy
11/05/2021, 3:07 PMflow.executor = LocalDaskExecutor(scheduler="threads", num_workers=4)
flow.register(project_name='SIE_Automation')
flow.storage.build()
flow.run_config = LocalRun(working_dir='/Users/vamsi/Desktop/Automation/')
flow.run(parameters={"config": default_config})
Vamsi Reddy
11/05/2021, 3:08 PMVamsi Reddy
11/05/2021, 3:08 PMVamsi Reddy
11/05/2021, 3:12 PMAnna Geller