it seems the issue with no module named workflows ...
# ask-the-community
g
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
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
j
All right, thanks! I'll try that
g
@Jonatan Eriksson be sure to add copy_all=True parameter for register_script