这里的第一个堆栈溢出问题。希望我能正确地做到这一点:
我需要在 AWS 胶中使用外部 python 库。“Openpyxl”是库的名称。
我遵循以下说明:https : //docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-libraries.html
但是,在我将 zip 文件保存在正确的 s3 位置并将我的胶水作业指向该位置后,我不确定要在脚本中实际写入什么内容。
我尝试了您的典型Import openpyxl,但这只会返回以下错误:
ImportError: No module named openpyxl
Run Code Online (Sandbox Code Playgroud)
显然我不知道在这里做什么 - 对编程也相对较新,所以我不确定这是一个菜鸟问题还是什么。提前致谢!