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

Gaurav Panta

02/22/2024, 10:42 PM
it seems the issue with no module named workflows is due to using the remote.register_workflow function i registered the flow with
Copy code
pyflyte register workflows --project myproject --image localhost:30000/myimage:latest
and now triggering it works
j

Jonatan Eriksson

02/23/2024, 12:38 PM
I've had the same problem and reached the same conclusion. Somehow the task/workflow code is uploaded when
pyflyte register
is used whereas if
remote.register_workflow
is used some parts of it is expected to be inside the image.
g

Gaurav Panta

02/23/2024, 2:16 PM
j

Jonatan Eriksson

02/23/2024, 2:36 PM
All right, thanks! I'll try that
g

Gaurav Panta

02/23/2024, 8:54 PM
@Jonatan Eriksson be sure to add copy_all=True parameter for register_script