Instalação PsycopG2-Binária
pip install psycopg2-binary
Lienus
pip install psycopg2-binary
sudo apt-get update -y
sudo apt-get install -y python3-psycopg2
sudo dnf install python-devel postgresql-devel rpm-build
pip install psycopg2
pip install psycopg2-binary
$ pip install psycopg2-binary
#Use psycopg2-binary instead of psycopg2.
pip install psycopg2-binary