问题
I use aws-glue now and would like to connect aws-glue to aws-aurora(Postgres)!
So, I created aws-glew job to connect aws-glue to aws-aurora(Postgres) by using pg8000.
But I get the error message like title:
ImportError: No module named pg8000
No module named pg8000
When creating job, I set parameter of python library through S3.
How can I solve this problem? And how can I connect aws-glue to aws-aurora(Postgres)?
回答1:
It looks like you can connect to Aurora Postgres only through an Amazon RDS instance. See supported connections here
回答2:
You can import the library by installing it using easy_install as explained in https://stackoverflow.com/a/54852126/4326922
来源:https://stackoverflow.com/questions/55608808/importerror-no-module-named-pg8000