From psycopg2 import sql not working
问题 Looking for some help with an issue I am having with psycopg2 and Python3. I am trying to use the sql library from psycopg2 that is available in version 2.7.1. When trying to use from psycopg2 import sql I get the error message unresolved reference 'sql' I am using Xubuntu Linux 16.04 LTS and when issuing the command pip show psycopg2 in the terminal I get: Name: psycopg2 Version: 2.7.1 Summary: psycopg2 - Python-PostgreSQL Database Adapter Home-page: http://initd.org/psycopg/ Author: