Mohammad Tami

08/17/2022, 2:43 PM
Hi, apologies if this is not the dedicated channel for this type of question. I am trying to deploy a flow to a self remote hosted Orion server (docker, Prefect V2) using S3 block as a code repository.
prefect deployment build ./flows/ -n flow1 -t dev -sb s3/s3test
I got the following error:
RuntimeError: File system created with scheme 's3' from base path '<s3://my_s3_bucket>' could not be created. You are likely missing a Python module required to use the given storage protocol.
the error does not have enough info what module I miss. any idea is appreciated ?

Rob Freedy

08/17/2022, 2:52 PM
Hey Mohammad!! Could you try running
pip install s3fs
to see if that fixes the issue?

Mohammad Tami

08/17/2022, 3:13 PM
yes it works. thanks for ur help!
👍 1