On a Windows10, python3.8, conda environment, the following solved my problem:
pip install --upgrade wheel pip install --upgrade setuptools pip install psycopg2==2.8.4