Fix pip to install locally

Move psycopg2 from requirements to apt package, to ensure postgres
user can use it.