I have problems when I try installing psycopg2==2.6.2. I have installed postgresql 9.6. and I am using a virtualenv. Any help is welcome.
Collecting psycopg
This is a bug in psycopg2 2.6. The bug was fixed in psycopg2 2.7. Install the latest version to work with PostgreSQL 10.