I’m getting `Unexpected error occured in FlowRunne...
# ask-community
w
I’m getting
Unexpected error occured in FlowRunner: ModuleNotFoundError("No module named 'prefect'")
when I try to run a flow after making a small tweak to the pod spec. Anyone seen that before?
Untitled
k
I think this is because you have a worker importing prefect but it might not be on the worker image? Did you use the Dask image? The Prefect image contains Dask.
w
I’m currently using
devdask/dask
with
env={"EXTRA_PIP_PACKAGES": "prefect[kubernetes],dask-kubernetes,psycopg"}
Does the prefect image support an ‘extra packages’ option like that?
k
Kinda. Let me hunt the docs
w
Aah, perfect, it supports the same thing indeed