Henrietta Salonen
04/06/2022, 9:24 PMprod
project suddenly fail with Failed to load and execute flow run: ModuleNotFoundError("No module named 'project_name'")
however, all the flows with exactly the same source code in Prefect dev
project run just fine. When I pull these images and start containers locally the project structure and packages are the same for both dev and prod. What could be the issue here?Kyle McChesney
04/06/2022, 9:30 PMAnna Geller
04/06/2022, 9:32 PMGitHub
storage, only the flow code gets pulled, not the whole repository. Can you share your code incl. your Dockerfile and your storage
+ run_config
from your flow? without seeing the actual code you use, we can only make assumptions and point you in the right direction but it's hard to help without seeing your configurationKyle McChesney
04/06/2022, 9:40 PMpython setup.py install
-ed into the docker imageHenrietta Salonen
04/06/2022, 9:40 PMKyle McChesney
04/06/2022, 9:40 PMHenrietta Salonen
04/06/2022, 9:41 PMKyle McChesney
04/06/2022, 9:41 PMHenrietta Salonen
04/06/2022, 9:42 PM