Hi everyone
I'm trying to get a sample flow run using Prefect UI, S3 as storage and Kubernetes Job as Infra.
Unfortunately I get the
ModuleNotFoundError: No module named 's3fs'
when running the flow.
• I am not using a custom image for the agent or the the job and prefer to keep using official images.
• I have specified the env for the kubernetes job in the Prefect UI but it does not make a different.
• I have also tried adding the
pip install s3fs
command to the agent's deployment manifest but that doesn't make a difference either.
Any ideas?
t
Timo Vink
01/25/2023, 2:47 AM
I believe this is expected. Personally I'm setting
This is indeed expected - I believe the general idea and requirement was to provide a base image from Prefect, and users could install whatever required fs package was needed for their use case, as opposed to trying to maintain multiple images with multiple packages etc. etc.
👍 1
Christopher Boyd
01/25/2023, 1:40 PM
I resolve this personally by creating a custom image that just install the fs package I need and using that
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.