Minio ModulenotFoundError运行气流Docker图像
我已经下载了最新的Docker映像,用于气流,并能够成功地旋转实例。在本地系统上,我在Mac上使用Homebrew安装了Minio服务器。
我创建了一个DAG文件,将数据上传到我的Minio Bucket。我已经使用Python进行了样本上传,并且它正常工作(使用Minio Python库)。在气流服务器上,我看到以下错误 -
ModulenotFoundError:没有名为“ Minio”的模块
可以帮助我将PIP3 Minio库带到Docker容器以便解决此错误可以解决吗?我是容器的新手,非常感谢我可以参考的简单指南或链接来帮助我解决此错误。
我尝试的一件事是摆弄属性-_pip_additional_requirtement -apache-airflow“>链接,但无济于事。
我将值添加为-Minio,但不起作用。
I have downloaded the latest Docker image for the Airflow and am able to spin up the instance succesfully. On my local system I have installed minio server using homebrew on my Mac.
I have created a DAG file to upload data to my Minio bucket. I have done a sample upload using python and it is working as expected (using the minio python libraries). On the Airflow server I am seeing the following errors -
ModuleNotFoundError: No module named 'minio'
Can someone pleae help me how can I have the pip3 minio library to the docker container so that this error can be resolved? I am new to containers and would really appreciate a easy guide or link that I can refer to help me with this error.
One of the things I did try is to fiddle with the attribute - _PIP_ADDITIONAL_REQUIREMENTS that comes in the AIRFLOW DOCKER image following this link but to no avail.
I added the values as - minio but didn't work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以创建一个扩展基本气流并安装软件包的Dockerfile。
you can create a Dockerfile that extend the basic airflow and install your packages.