AbhimanyuHK / aws-psycopg2

A aws psycopg2 package from psycopg2 https://pypi.org/project/aws-psycopg2/
75 stars 11 forks source link

"module 'psycopg2' has no attribute 'errors" #2

Closed jcuna closed 4 years ago

jcuna commented 4 years ago

Not sure if this is because there's an issue with the psycopg2 version compiled in this package. I saw this issue opened for psycopg2 some time ago and a few other psycopg2 library spin offs. In short one can not reference psycopg2.errors.*

AbhimanyuHK commented 4 years ago

which version are you using?

AbhimanyuHK commented 4 years ago

1.2.1 is solving this issue.

import psycopg2.errors as e