Resolve aws glue job error
Budget: ₹600 – ₹1,500 INR
I have created one aws glue job but its failing with error
ModuleNotFoundError: No module named 'psycopg2' when redshift connection is added to the Gluejob
When I remove redshift connection then I am able to import the module. But with out redshift connection I cannot load the data from aws glue
Tried these options :
1) add the below parameter in job parameter list of glue job
--additional-python-modules psycopg2-binary==2.8.6
2) upload "whl" file to s3 bucket and use the corresponding s3 path in the job parameter
3) upload the zip file of psycopg2 module to s3 bucket and and use the corresponding s3 path in the job parameter
ModuleNotFoundError: No module named 'psycopg2' when redshift connection is added to the Gluejob
When I remove redshift connection then I am able to import the module. But with out redshift connection I cannot load the data from aws glue
Tried these options :
1) add the below parameter in job parameter list of glue job
--additional-python-modules psycopg2-binary==2.8.6
2) upload "whl" file to s3 bucket and use the corresponding s3 path in the job parameter
3) upload the zip file of psycopg2 module to s3 bucket and and use the corresponding s3 path in the job parameter