Hi, I'm running local prefect server in docker, an...
# prefect-community
f
Hi, I'm running local prefect server in docker, and to register my flow I run a docker client. I am using this method(https://github.com/flavienbwk/prefect-docker-compose). I can see the code run successifully in docker container client and flow is registered but when I rerun the flow from UI I getting no module Pandas found. I have Pandas installed on host and also in the client container, my question is where else should the module be installed for the flow to run successfully from the UI?
a
Given you are running this in a container, you would need to install it within the image. Check this Discourse topic and this Dockerfile example
k
Pandas needs to be installed wherever the Flow is running which depends on your agent type. For local agent, it needs to be installed on the machine. For Docker agent, it needs to be in the container where the flow runs
f
Thanks guys it helped alot🙂
👍 1