Jonas
07/28/2021, 2:14 PMFailed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'subpackage1\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
I'm trying to import package 1 and 2 in flow A .
I get that the Prefect environment can't find the module but what is they best way of solving this?
folder structure:
└── myproject
└── system1
├── flow_A.py
└── subpackage1
└── package1.py
└── subpackage2
└── package2.py
└── random files (that I can import)Kevin Kho
07/28/2021, 2:15 PMLocalRun(working_dir="…")
and the imports would work. Or you could pip install -e .
the project on the machine and that might resolve the imports.