Pakiety wymagane do zainstalowania PsycopG2
pip install psycopg2-binary
RicarHincapie
pip install psycopg2-binary
$ pip install psycopg2-binary
$ pip install psycopg2-binary
#Use psycopg2-binary instead of psycopg2.
pip install psycopg2-binary
$ pip install psycopg2
pip3 install psycopg2-binary # for version 3 and up