https://flyte.org logo
#ask-the-community
Title
# ask-the-community
h

Hud

07/25/2023, 3:36 PM
Hey trying out the diabetes tutorial - ran this:
Copy code
flytectl demo start
cd examples/pima_diabetes
pyflyte run --remote pima_diabetes/diabetes.py diabetes_xgboost_model # as usually practiced in basics
But somehow getting this
flytekit.exceptions.user.FlyteValidationException: Input pima_diabetes/diabetes.py must be in format '<file.py>:<worfklow>'
Why is this different than in whats in the basic user guide? Also,
pyflyte run --remote pima_diabetes/diabetes.py:diabetes_xgboost_model
shows up in the console but for some reason unable to find the module
No module named 'marshmallow_enum'
even though it's installed in a poetry environment
n

Niels Bantilan

07/25/2023, 4:16 PM
hi @Hud would you mind opening a [flyte-docs] issue for this? Basically the flytekit version is pinned to an old version: https://github.com/flyteorg/flytesnacks/blob/master/examples/pima_diabetes/requirements.txt#L45
h

Hud

07/25/2023, 5:38 PM
@Niels Bantilan Ah I see - I assume that the
No module named 'marshmallow_enum'
error will also be solved with this? i.e. I should include it in the issue
n

Niels Bantilan

07/25/2023, 5:40 PM
updating to latest flytekit should fix that
h

Hud

07/25/2023, 5:41 PM
opened the issue
2 Views