Removing psycopg2 import statement