ImportError: No module named pg8000

亡梦爱人 提交于 2019-12-11 18:26:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!