https://prefect.io logo
#prefect-community
Title
# prefect-community
f

Faheem Khan

04/26/2022, 7:48 AM
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

Anna Geller

04/26/2022, 11:05 AM
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

Kevin Kho

04/26/2022, 2:14 PM
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

Faheem Khan

04/26/2022, 10:17 PM
Thanks guys it helped alot🙂
👍 1
20 Views