[英]Import failure of s3fs library in AWS Glue
AWS glue is not importing s3fs module AWS 胶水没有导入 s3fs 模块
import s3fs
I expect the library to be imported but AWS glue says我希望库被导入,但 AWS 胶水说
ImportError : No module named s3fs ImportError:没有名为 s3fs 的模块
AWS glue is not importing s3fs module AWS 胶水未导入 s3fs 模块
import s3fs
I expect the library to be imported but AWS glue says我希望导入该库,但 AWS 胶水说
ImportError : No module named s3fs导入错误:没有名为 s3fs 的模块
s3fs is only included in Glue 2.0 and up. s3fs 仅包含在 Glue 2.0 及更高版本中。 If you are trying to use this in a Python shell Glue job which uses Glue 1.0, you'll have to provide the whl file for s3fs as Sherlock mentioned above.
如果您尝试在使用 Glue 1.0 的 Python shell Glue 作业中使用它,则必须像上面提到的 Sherlock 一样为 s3fs 提供 whl 文件。
Here is a list of the default packages for Python Shell jobs https://docs.aws.amazon.com/glue/latest/dg/add-job-python.html#python-shell-supported-library以下是 Python Shell 作业的默认包列表https://docs.aws.amazon.com/glue/latest/dg/add-job-python.html#python-shell-supported-library
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.