Answer the question
In order to leave comments, you need to log in
Psycopg2 won't download on python3.9?
Why doesn't psycopg2 download to python3.9?
pip3 install --upgrade pip
pip3 install --upgrade distlib
pip3 install --upgrade setuptools
Answer the question
In order to leave comments, you need to log in
In general, this helped:
sudo apt install libpq-dev python3.9-dev
python3.9 -m pip install psycopg2-binary
pip install psycopg2-binary
this works on vps with ubuntu
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question