diff --git a/docs/user_guide/flyte_fundamentals/registering_workflows.md b/docs/user_guide/flyte_fundamentals/registering_workflows.md index 1c53a78020..a5c9c5c183 100644 --- a/docs/user_guide/flyte_fundamentals/registering_workflows.md +++ b/docs/user_guide/flyte_fundamentals/registering_workflows.md @@ -297,6 +297,12 @@ pyflyte --pkgs --pkgs package ... This is useful in cases where you want to register two different Flyte projects that you maintain in a single place. + +If you encounter a ``ModuleNotFoundError`` when packaging, use the `--source` option to include the correct source paths. For instance: + +```{prompt} bash $ +pyflyte --pkgs package --source ./src -f +``` ```` #### Register with `flytectl register`