Repository: pypa/pip

Issue:
Pip 21 performs one unneeded fetch when -U is supplied
**Environment**

* pip version: 21.0
* Python version: 3.8.5
* OS: ubuntu linux 20.04 (actually, kubuntu) 

**Description**

See the following example:
```
(Py3.8-devel) user@host:~$ pip install -U cvxopt
Requirement already satisfied: cvxopt in ./PythonEnvs/Py3.8-devel/lib/python3.8/site-packages (1.2.5)
Collecting cvxopt
  Downloading cvxopt-1.2.5-cp38-cp38-manylinux1_x86_64.whl (11.7 MB)
     |████████████████████████████████| 11.7 MB 3.0 MB/s 
  Downloading cvxopt-1.2.4-cp38-cp38-manylinux1_x86_64.whl (11.6 MB)
     |████████████████████████████████| 11.6 MB 41.7 MB/s
```
Why is `cvxopt` being collected and downloaded if the requirement about it is already satisfied?
Why is the past version of `cvxopt` also being downloaded?

I have the suspicion that this may have something to do with the fact that I have the package cache disabled with `no-cache-dir = false` in `pip.conf` and that the cache code has been refactored in this version.

**Expected behavior**

If a requirement is satisfied, then `pip` should not download anything. If a requirement is not satisfied, `pip` should download its code at the required version only. 

**How to Reproduce**

- Disable the `pip` cache (probably needed)
- Install a package (e.g., `cvxopt`)
- Try to install it again with `pip -install -U`

**Output**

```
Requirement already satisfied: cvxopt in ./PythonEnvs/Py3.8-devel/lib/python3.8/site-packages (1.2.5)
Collecting cvxopt
  Downloading cvxopt-1.2.5-cp38-cp38-manylinux1_x86_64.whl (11.7 MB)
     |████████████████████████████████| 11.7 MB 3.0 MB/s 
  Downloading cvxopt-1.2.4-cp38-cp38-manylinux1_x86_64.whl (11.6 MB)
     |████████████████████████████████| 11.6 MB 41.7 MB/s
```



Discussion:
The upgrade (`-U`) option appears to be a factor in the double downloading. See the following:

```
% pip cache info        
Package index page cache location: /Users/dkav/Library/Caches/pip/http
Package index page cache size: 1.6 MB
Number of HTTP files: 3
Wheels location: /Users/dkav/Library/Caches/pip/wheels
Wheels size: 0 bytes
Number of wheels: 0
```
```
% pip cache purge
Files removed: 3
```
```
% pip uninstall ipython 
Found existing installation: ipython 7.19.0
.......
  Successfully uninstalled ipython-7.19.0
```
```
% pip install ipython  
Collecting ipython
Downloading ipython-7.19.0-py3-none-any.whl (784 kB)
     |████████████████████████████████| 784 kB 3.4 MB/s 
......
Installing collected packages: ipython
Successfully installed ipython-7.19.0
```
```
% pip install -U ipython
Requirement already satisfied: ipython in /usr/local/lib/python3.9/site-packages (7.19.0)
Collecting ipython
  Using cached ipython-7.19.0-py3-none-any.whl (784 kB)
  Downloading ipython-7.18.1-py3-none-any.whl (786 kB)
     |████████████████████████████████| 786 kB 3.6 MB/s 
.......
```
```
% pip cache list
Nothing cached.
```
```
% pip cache info
Package index page cache location: /Users/dkav/Library/Caches/pip/http
Package index page cache size: 1.6 MB
Number of HTTP files: 3
Wheels location: /Users/dkav/Library/Caches/pip/wheels
Wheels size: 0 bytes
Number of wheels: 0
```

It seems that `--upgrade` is indeed causing an extra fetch. Even with cache enabled, the flag is still causing an extra cache hit than needed.
i don't know about "one" for me if i try and update https://pypi.org/project/psycopg2/ it tries to download all the linux versions too one by one until it ends up on 2 functioning windows ports in a row.
Can you paste the command you used and the output it generated?
```
py -m pip install --upgrade -r ".\requirements.txt"
Requirement already satisfied: apscheduler in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 1)) (3.7.0)
Collecting apscheduler
  Using cached APScheduler-3.7.0-py2.py3-none-any.whl (59 kB)
  Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: asgiref in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 2)) (3.3.1)
Collecting asgiref
  Using cached asgiref-3.3.1-py3-none-any.whl (19 kB)
  Using cached asgiref-3.3.0-py3-none-any.whl (19 kB)
Requirement already satisfied: cachetools in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 3)) (4.2.1)
Collecting cachetools
  Using cached cachetools-4.2.1-py3-none-any.whl (12 kB)
  Using cached cachetools-4.2.0-py3-none-any.whl (12 kB)
Requirement already satisfied: certifi in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 4)) (2020.12.5)
Collecting certifi
  Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
  Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
Requirement already satisfied: cffi in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 5)) (1.14.4)
Collecting cffi
  Using cached cffi-1.14.4-cp39-cp39-win_amd64.whl (179 kB)
  Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB)
Requirement already satisfied: chardet in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 6)) (4.0.0)
Collecting chardet
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: cryptography in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 7)) (3.3.1)
Collecting cryptography
  Using cached cryptography-3.3.1-cp36-abi3-win_amd64.whl (1.5 MB)
  Using cached cryptography-3.3-cp36-abi3-win_amd64.whl (1.5 MB)
Requirement already satisfied: dj_database_url in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 8)) (0.5.0)
Collecting dj_database_url
  Using cached dj_database_url-0.5.0-py2.py3-none-any.whl (5.5 kB)
  Using cached dj_database_url-0.4.2-py2.py3-none-any.whl (5.6 kB)
Requirement already satisfied: django in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 9)) (3.1.5)
Collecting django
  Using cached Django-3.1.5-py3-none-any.whl (7.8 MB)
  Using cached Django-3.1.4-py3-none-any.whl (7.8 MB)
Requirement already satisfied: django-crispy-forms in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 10)) (1.10.0)
Collecting django-crispy-forms
  Using cached django_crispy_forms-1.10.0-py3-none-any.whl (107 kB)
  Using cached django_crispy_forms-1.9.2-py3-none-any.whl (108 kB)
Requirement already satisfied: django-dynamic-preferences in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 11)) (1.10.1)
Collecting django-dynamic-preferences
  Using cached django_dynamic_preferences-1.10.1-py2.py3-none-any.whl (46 kB)
  Using cached django_dynamic_preferences-1.10-py2.py3-none-any.whl (45 kB)
Requirement already satisfied: feedparser in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 12)) (6.0.2)
Collecting feedparser
  Using cached feedparser-6.0.2-py3-none-any.whl (80 kB)
  Using cached feedparser-5.2.1.zip (1.2 MB)
Requirement already satisfied: gallery-dl in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 13)) (1.16.4)
Collecting gallery-dl
  Using cached gallery_dl-1.16.4-py3-none-any.whl (395 kB)
  Using cached gallery_dl-1.16.3-py3-none-any.whl (390 kB)
Requirement already satisfied: google-api-core in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 14)) (1.25.1)
Collecting google-api-core
  Using cached google_api_core-1.25.1-py2.py3-none-any.whl (92 kB)
  Using cached google_api_core-1.25.0-py2.py3-none-any.whl (92 kB)
Requirement already satisfied: google-api-python-client in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 15)) (1.12.8)
Collecting google-api-python-client
  Using cached google_api_python_client-1.12.8-py2.py3-none-any.whl (61 kB)
  Using cached google_api_python_client-1.12.7-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: google-auth in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 16)) (1.24.0)
Collecting google-auth
  Using cached google_auth-1.24.0-py2.py3-none-any.whl (114 kB)
  Using cached google_auth-1.23.0-py2.py3-none-any.whl (114 kB)
Requirement already satisfied: google-auth-httplib2 in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 17)) (0.0.4)
Collecting google-auth-httplib2
  Using cached google_auth_httplib2-0.0.4-py2.py3-none-any.whl (9.1 kB)
  Using cached google_auth_httplib2-0.0.3-py2.py3-none-any.whl (6.3 kB)
Requirement already satisfied: google_auth_oauthlib in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 18)) (0.4.2)
Collecting google_auth_oauthlib
  Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
  Using cached google_auth_oauthlib-0.4.1-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: googleapis-common-protos in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 19)) (1.52.0)
Collecting googleapis-common-protos
  Using cached googleapis_common_protos-1.52.0-py2.py3-none-any.whl (100 kB)
  Using cached googleapis-common-protos-1.51.0.tar.gz (35 kB)
Requirement already satisfied: gunicorn in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 20)) (20.0.4)
Collecting gunicorn
  Using cached gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
  Using cached gunicorn-20.0.3-py2.py3-none-any.whl (79 kB)
Requirement already satisfied: httplib2 in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 21)) (0.18.1)
Collecting httplib2
  Using cached httplib2-0.18.1-py3-none-any.whl (95 kB)
  Using cached httplib2-0.18.0-py3-none-any.whl (95 kB)
Requirement already satisfied: idna in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 22)) (2.10)
Collecting idna
  Using cached idna-3.1-py3-none-any.whl (58 kB)
Requirement already satisfied: lxml in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 23)) (4.6.2)
Collecting lxml
  Using cached lxml-4.6.2-cp39-cp39-win_amd64.whl (3.5 MB)
  Using cached lxml-4.6.1-cp39-cp39-win_amd64.whl (3.5 MB)
Requirement already satisfied: oauth in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 24)) (1.0.1)
Collecting oauth
  Using cached oauth-1.0.1.tar.gz (9.5 kB)
  Using cached oauth-1.0.tar.gz (7.7 kB)
Requirement already satisfied: oauth2client in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 25)) (4.1.3)
Collecting oauth2client
  Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
  Using cached oauth2client-4.1.2-py2.py3-none-any.whl (99 kB)
Requirement already satisfied: oauthlib in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 26)) (3.1.0)
Collecting oauthlib
  Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
  Using cached oauthlib-3.0.2-py2.py3-none-any.whl (143 kB)
Requirement already satisfied: opml in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 27)) (0.5)
Collecting opml
  Using cached opml-0.5.tar.gz (4.9 kB)
Requirement already satisfied: packaging in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 28)) (20.8)
Collecting packaging
  Using cached packaging-20.8-py2.py3-none-any.whl (39 kB)
  Using cached packaging-20.7-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: persisting-theory in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 29)) (0.2.1)
Collecting persisting-theory
  Using cached persisting-theory-0.2.1.tar.gz (8.7 kB)
  Using cached persisting-theory-0.2.0.tar.gz (8.5 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_0f722fbb66dc472582adc22561be7491\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_0f722fbb66dc472582adc22561be7491\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-jn03z63c'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_0f722fbb66dc472582adc22561be7491\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_0f722fbb66dc472582adc22561be7491\setup.py", line 3, in <module>
        import persisting_theory
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_0f722fbb66dc472582adc22561be7491\persisting_theory\__init__.py", line 1, in <module>
        from registries import Registry, meta_registry
    ModuleNotFoundError: No module named 'registries'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ec/22/fa6ff7a2d5381856c96faf794cde23b59ebb3baa3d169d78868935f12284/persisting-theory-0.2.0.tar.gz#sha256=6d5a5b64250ca95c8021672f43a2e16559e2451b9d3e661eb81168b8ab9e75b2 (from https://pypi.org/simple/persisting-theory/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached persisting-theory-0.1.2.tar.gz (7.6 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_aa11d2d42bad442b992f3fc9b3c317eb\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_aa11d2d42bad442b992f3fc9b3c317eb\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4e2a1oew'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_aa11d2d42bad442b992f3fc9b3c317eb\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_aa11d2d42bad442b992f3fc9b3c317eb\setup.py", line 3, in <module>
        import persisting_theory
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_aa11d2d42bad442b992f3fc9b3c317eb\persisting_theory\__init__.py", line 1, in <module>
        from registries import Registry, meta_registry
    ModuleNotFoundError: No module named 'registries'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7b/08/d528213a9f537c414877cffcebc6dd3ac09e0958c71861f067d1bc9c5c65/persisting-theory-0.1.2.tar.gz#sha256=4633f7b59101968818f027a06e02b8670cc98e48610f3892a008cb8507bcdc4a (from https://pypi.org/simple/persisting-theory/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached persisting-theory-0.1.1.tar.gz (7.1 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_d7fb7b136d214aefb26b8e3c7c380b65\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_d7fb7b136d214aefb26b8e3c7c380b65\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cxtz3p22'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_d7fb7b136d214aefb26b8e3c7c380b65\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_d7fb7b136d214aefb26b8e3c7c380b65\setup.py", line 3, in <module>
        import persisting_theory
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_d7fb7b136d214aefb26b8e3c7c380b65\persisting_theory\__init__.py", line 1, in <module>
        from registries import Registry, meta_registry
    ModuleNotFoundError: No module named 'registries'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/47/7b/bc1cb17795a376e3498c7fb74af5dd55c91b79338869199c722e435ef8ce/persisting-theory-0.1.1.tar.gz#sha256=f31bb1e7c250536c0c893843124526262a7740be96530e25c01ef0f06b011579 (from https://pypi.org/simple/persisting-theory/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached persisting-theory-0.1.tar.gz (6.8 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_5810e273a09e4213b9490287cf3257b1\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\persisting-theory_5810e273a09e4213b9490287cf3257b1\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-jfjf9e2p'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_5810e273a09e4213b9490287cf3257b1\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_5810e273a09e4213b9490287cf3257b1\setup.py", line 3, in <module>
        import persisting_theory
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\persisting-theory_5810e273a09e4213b9490287cf3257b1\persisting_theory\__init__.py", line 1, in <module>
        from registries import Registry, meta_registry
    ModuleNotFoundError: No module named 'registries'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/06/22/9a200600b9da8041807043d522f93aa6d283d3da1a0aa91b88079f5b4543/persisting-theory-0.1.tar.gz#sha256=f00bf9de28089cd8beff825bd113691ecc8f4dd1980c45f6545211cac97ee9e9 (from https://pypi.org/simple/persisting-theory/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Requirement already satisfied: pillow in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 30)) (8.1.0)
Collecting pillow
  Using cached Pillow-8.1.0-cp39-cp39-win_amd64.whl (2.2 MB)
  Using cached Pillow-8.0.1-cp39-cp39-win_amd64.whl (2.1 MB)
Requirement already satisfied: pip in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 31)) (21.0)
Collecting pip
  Using cached pip-21.0-py3-none-any.whl (1.5 MB)
  Using cached pip-20.3.4-py2.py3-none-any.whl (1.5 MB)
Requirement already satisfied: pipupgrade in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 32)) (1.8.2)
Collecting pipupgrade
  Using cached pipupgrade-1.8.2-py3-none-any.whl (87 kB)
  Using cached pipupgrade-1.8.1-py3-none-any.whl (86 kB)
Requirement already satisfied: protobuf in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 33)) (3.14.0)
Collecting protobuf
  Using cached protobuf-3.14.0-py2.py3-none-any.whl (173 kB)
  Using cached protobuf-3.13.0-py2.py3-none-any.whl (438 kB)
Requirement already satisfied: psycopg2 in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 34)) (2.8.6)
Collecting psycopg2
  Using cached psycopg2-2.8.6-cp39-cp39-win_amd64.whl (1.2 MB)
  Using cached psycopg2-2.8.5.tar.gz (380 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e0400dc90a9d43a0bec9e828c5888772\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e0400dc90a9d43a0bec9e828c5888772\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_e0400dc90a9d43a0bec9e828c5888772\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4llq85cy\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <https://www.psycopg.org/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a8/8f/1c5690eebf148d1d1554fc00ccf9101e134636553dbb75bdfef4f85d7647/psycopg2-2.8.5.tar.gz#sha256=f7d46240f7a1ae1dd95aab38bd74f7428d46531f69219954266d669da60c0818 (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.8.4.tar.gz (377 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e9855c8305ee47a380288ceadcbec719\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e9855c8305ee47a380288ceadcbec719\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_e9855c8305ee47a380288ceadcbec719\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qozfdbwn\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/84/d7/6a93c99b5ba4d4d22daa3928b983cec66df4536ca50b22ce5dcac65e4e71/psycopg2-2.8.4.tar.gz#sha256=f898e5cc0a662a9e12bde6f931263a1bbd350cfb18e1d5336a12927851825bb6 (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.8.3.tar.gz (377 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_cf7acd42740b4ac9bb44af00ffbd9082\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_cf7acd42740b4ac9bb44af00ffbd9082\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_cf7acd42740b4ac9bb44af00ffbd9082\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-2x4rnd7y\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5c/1c/6997288da181277a0c29bc39a5f9143ff20b8c99f2a7d059cfb55163e165/psycopg2-2.8.3.tar.gz#sha256=897a6e838319b4bf648a574afb6cabcb17d0488f8c7195100d48d872419f4457 (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.8.2.tar.gz (368 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_34095c70e76c4533b8608523cf4aacdd\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_34095c70e76c4533b8608523cf4aacdd\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_34095c70e76c4533b8608523cf4aacdd\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-c7cpzsd5\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/23/7e/93c325482c328619870b6cd09370f6dbe1148283daca65115cd63642e60f/psycopg2-2.8.2.tar.gz#sha256=5cacf21b6f813c239f100ef78a4132056f93a5940219ec25d2ef833cbeb05588 (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.8.1.tar.gz (367 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_ac4d268d7a4e44a98c39e8655ccb9d02\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_ac4d268d7a4e44a98c39e8655ccb9d02\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_ac4d268d7a4e44a98c39e8655ccb9d02\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-xdqtlsw2\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/52/be/f898e712f5f08131d651a62754fca82a1deb42e4e9889ad01932f770a2be/psycopg2-2.8.1.tar.gz#sha256=b4a475ce87eabc0607e068a3c704d0aa0820237ed78d493b8e2d880eb73cd7fe (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.8.tar.gz (367 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9d9c4c8f794a4566841c78ead38bbb2f\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9d9c4c8f794a4566841c78ead38bbb2f\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_9d9c4c8f794a4566841c78ead38bbb2f\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-syi51h77\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c7/ca/75236b17f1b951950ffc55d657c5aa408d3d0327a1b6c4c0f7cb16ef7e7b/psycopg2-2.8.tar.gz#sha256=49c5838d90e83217909db3789d30a105385b5e696ec5168cda645546c542f35a (from https://pypi.org/simple/psycopg2/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.7.tar.gz (427 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_d4654b485eb9414faf2b3f0ea159b932\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_d4654b485eb9414faf2b3f0ea159b932\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_d4654b485eb9414faf2b3f0ea159b932\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4uo8997j\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/63/54/c039eb0f46f9a9406b59a638415c2012ad7be9b4b97bfddb1f48c280df3a/psycopg2-2.7.7.tar.gz#sha256=f4526d078aedd5187d0508aa5f9a01eae6a48a470ed678406da94b4cd6524b7e (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.6.1.tar.gz (427 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_d46afd182872495eb63a94e80136b178\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_d46afd182872495eb63a94e80136b178\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_d46afd182872495eb63a94e80136b178\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-z1c837pu\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c0/07/93573b97ed61b6fb907c8439bf58f09957564cf7c39612cef36c547e68c6/psycopg2-2.7.6.1.tar.gz#sha256=27959abe64ca1fc6d8cd11a71a1f421d8287831a3262bd4cacd43bbf43cc3c82 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.6.tar.gz (427 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e203a66a9219466480c9610123893448\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_e203a66a9219466480c9610123893448\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_e203a66a9219466480c9610123893448\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-ylehyh4v\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/94/09/2f1fae36d83e2315b90ee91738d01baf8af8c945726bf4b4708fcec3256d/psycopg2-2.7.6.tar.gz#sha256=4a658550b0bcb259e97f77f2dc93ed6b108fe2eda963a9e6fc8b48040d542ec2 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.5.tar.gz (426 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_f8dae85afb7a4e1885919c5053c063e9\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_f8dae85afb7a4e1885919c5053c063e9\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_f8dae85afb7a4e1885919c5053c063e9\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-twibrhdd\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/b2/c1/7bf6c464e903ffc4f3f5907c389e5a4199666bf57f6cd6bf46c17912a1f9/psycopg2-2.7.5.tar.gz#sha256=eccf962d41ca46e6326b97c8fe0a6687b58dfc1a5f6540ed071ff1474cea749e (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.4.tar.gz (425 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_30cd936ddb6f4b6ebebeec7ceacfe985\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_30cd936ddb6f4b6ebebeec7ceacfe985\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_30cd936ddb6f4b6ebebeec7ceacfe985\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-a_4fiz4r\psycopg2.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/74/83/51580322ed0e82cba7ad8e0af590b8fb2cf11bd5aaa1ed872661bd36f462/psycopg2-2.7.4.tar.gz#sha256=8bf51191d60f6987482ef0cfe8511bbf4877a5aa7f313d7b488b53189cf26209 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.3.2.tar.gz (425 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_dd69a5c78c884fb3b1bec27881aba681\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_dd69a5c78c884fb3b1bec27881aba681\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_dd69a5c78c884fb3b1bec27881aba681\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-_7jx4z85\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/dd/47/000b405d73ca22980684fd7bd3318690cc03cfa3b2ae1c5b7fff8050b28a/psycopg2-2.7.3.2.tar.gz#sha256=5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.3.1.tar.gz (425 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_7caf7a6e1aad4e70bcabb43433558ceb\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_7caf7a6e1aad4e70bcabb43433558ceb\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_7caf7a6e1aad4e70bcabb43433558ceb\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r6ybyjwd\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6b/fb/15c687eda2f925f0ff59373063fdb408471b4284714a7761daaa65c01f15/psycopg2-2.7.3.1.tar.gz#sha256=9b7b16e26448b43cf167f785d8b5345007731ebf153a510e12dae826800caa65 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.3.tar.gz (425 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_087726a7004b4577ad766bd6266adbb5\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_087726a7004b4577ad766bd6266adbb5\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_087726a7004b4577ad766bd6266adbb5\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v34h9gt0\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/98/99/33ca02c4bc3ed1bd9ceab5614bda2e6d1d31e61ec58345b9feece238c38a/psycopg2-2.7.3.tar.gz#sha256=c9bd49848556d04093909faec017c3675efabf78c2b7f383bf7c43ba18324ac8 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.2.tar.gz (424 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_b6e98e09fc8c4bcf8529e4a8ecd99367\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_b6e98e09fc8c4bcf8529e4a8ecd99367\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_b6e98e09fc8c4bcf8529e4a8ecd99367\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vxhjqhzg\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d0/66/61c1b34ea8da8f95d99676e6803ccad83abef3ac90df145b45033696f3d2/psycopg2-2.7.2.tar.gz#sha256=3767f40bb35713ccc75dbcff80bf228a75e080d6b98c78afd5fb9aa84682a9f4 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.1.tar.gz (421 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_dc5a55b64661470b91d3ad557d44fec9\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_dc5a55b64661470b91d3ad557d44fec9\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_dc5a55b64661470b91d3ad557d44fec9\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9zsxeh4n\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/f8/e9/5793369ce8a41bf5467623ded8d59a434dfef9c136351aca4e70c2657ba0/psycopg2-2.7.1.tar.gz#sha256=86c9355f5374b008c8479bc00023b295c07d508f7c3b91dbd2e74f8925b1d9c6 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.7.tar.gz (421 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_53c52aca37ad4be28936ffc26e739178\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_53c52aca37ad4be28936ffc26e739178\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_53c52aca37ad4be28936ffc26e739178\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v0l5ceql\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/62/ca/0a479c9664526e86c2913a7ad593586eeb86b428b7e629e7c7b6b69e3cb7/psycopg2-2.7.tar.gz#sha256=ceadecf660ad4f7a31ea5baef30a7351add8626f9fd3daaafabb9a9e549f3f9a (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.6.2.tar.gz (376 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_ff0605e3d0e84e0fb9115bd6a153863c\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_ff0605e3d0e84e0fb9115bd6a153863c\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_ff0605e3d0e84e0fb9115bd6a153863c\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-r9b594xm\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz#sha256=70490e12ed9c5c818ecd85d185d363335cc8a8cbf7212e3c185431c79ff8c05c (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.6.1.tar.gz (371 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6318bbf3159d45a887d3abc2f35e9d31\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6318bbf3159d45a887d3abc2f35e9d31\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_6318bbf3159d45a887d3abc2f35e9d31\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-cihotuno\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/86/fd/cc8315be63a41fe000cce20482a917e874cdc1151e62cb0141f5e55f711e/psycopg2-2.6.1.tar.gz#sha256=6acf9abbbe757ef75dc2ecd9d91ba749547941abaffbe69ff2086a9e37d4904c (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.6.tar.gz (367 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_0fd017435ce84db7a487dfd38bfe2981\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_0fd017435ce84db7a487dfd38bfe2981\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_0fd017435ce84db7a487dfd38bfe2981\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-08aiqi1b\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/dd/c7/9016ff8ff69da269b1848276eebfb264af5badf6b38caad805426771f04d/psycopg2-2.6.tar.gz#sha256=c00afecb302a99a4f83dec9b055c4d1cc196926d62c8db015d68432df8118ca8 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.5.tar.gz (779 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_554c76b2c5994e3a8cfa03d698f66f87\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_554c76b2c5994e3a8cfa03d698f66f87\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_554c76b2c5994e3a8cfa03d698f66f87\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rfpfx_1b\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9b/60/f4c79e73a69ded145880bcf4f98eeed741af12c62c5ddc89b754602b1807/psycopg2-2.5.5.tar.gz#sha256=c6c330c98ab08c5639f0ccd7e211b82b3a39f001813dcea6bb824a99d2b34fe2 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.4.tar.gz (682 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_a729cdcbd87e444298e8517dd11ad8ad\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_a729cdcbd87e444298e8517dd11ad8ad\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_a729cdcbd87e444298e8517dd11ad8ad\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-kh2jp2gi\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/63/c3/802668cb3cfc2880c2a8364623e7105a0257724a2612bb66ec733aaddb8c/psycopg2-2.5.4.tar.gz#sha256=24ba3f328aba08d8d505bc2a8f68a94ebe24a85e8483640b667221bc0efd3b1e (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.3.tar.gz (690 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_fdce5520fd004b9eac7362511c165761\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_fdce5520fd004b9eac7362511c165761\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_fdce5520fd004b9eac7362511c165761\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-yisiotqm\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/22/fa/5ddcafc7387c1534c59eb3ffcdb9ab2af106fd3b104e6df191b6c55718af/psycopg2-2.5.3.tar.gz#sha256=3a2df3bb113187227aa97d0dd3d06e0f26be3d50dcdeeaef67fac59ed51a030a (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.2.tar.gz (685 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_5a0f222267df4767bc8777992501f22b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_5a0f222267df4767bc8777992501f22b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_5a0f222267df4767bc8777992501f22b\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-khk3mc2a\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c3/f3/5519551f02ae70fc51f4e608e7b44d59a408fe3264fec4afeea37b8ea317/psycopg2-2.5.2.tar.gz#sha256=50382d8703a16c3c615f328c2676f002787095925c99f0afb125a59962a5bd2e (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.1.tar.gz (684 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_8c590fbad3d24dd68c13fbf4ae060b2a\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_8c590fbad3d24dd68c13fbf4ae060b2a\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_8c590fbad3d24dd68c13fbf4ae060b2a\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-6bkr2nq0\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/22/09/63d5da7375c267e208bbadf56b51699d85cb7b3a9096817eeea500a27b3b/psycopg2-2.5.1.tar.gz#sha256=65a70c88a7e02d8bef57aab8636b5795389674c3205fd88ec46a4dffffa7efec (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.5.tar.gz (703 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2248d4003a8c45a08c69144c9e138c1d\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2248d4003a8c45a08c69144c9e138c1d\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2248d4003a8c45a08c69144c9e138c1d\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-61uqaopd\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/84/7e/7256298bf7064238e63b9380cf424f776a4d2a87e387c9a9bd1bc5ea0fbc/psycopg2-2.5.tar.gz#sha256=6b2f0cc9199de9eaa53ba10ff69b2741e73484b24657e69bdae259561c23bde4 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.6.tar.gz (667 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_173787032f784cde8ac07f6c6c991251\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_173787032f784cde8ac07f6c6c991251\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_173787032f784cde8ac07f6c6c991251\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nv7hallx\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/59/aa/4d74a5dc32a89d622c1fa896a86683b488ef255f06d4b27231e12e6076f7/psycopg2-2.4.6.tar.gz#sha256=4edcb40b0a039b4b559a6bc887b2155db8b6c53d0f55b00af8338c77b725621f (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.5.tar.gz (719 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9fc9746160744fa8ab523bc3b0326496\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9fc9746160744fa8ab523bc3b0326496\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_9fc9746160744fa8ab523bc3b0326496\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-u0yls701\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/36/77/894a5dd9f3f55cfc85682d3e6473ee5103d8d418b95baf4019fad3ffa026/psycopg2-2.4.5.tar.gz#sha256=48b702a7ca479e1bc2c1a7b81875a07d474298132605993e2cb979f5e08277d7 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.4.tar.gz (648 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6e312b917f5d468aaf963ad4974daedd\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6e312b917f5d468aaf963ad4974daedd\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_6e312b917f5d468aaf963ad4974daedd\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-nl91m2nw\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6f/91/890c6f954e2d09d26b266a24468570c6227de61ac6f64926c48000db0a6e/psycopg2-2.4.4.tar.gz#sha256=0c55b059d33f6b2cbb52f254320832c0ca30498ae06f4f4df2a2b38af989127e (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.3.tar.gz (647 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_8c323f777c6a4dc29493a8fc2623e85b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_8c323f777c6a4dc29493a8fc2623e85b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_8c323f777c6a4dc29493a8fc2623e85b\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-v9he4jto\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/1e/71/8929172068cbc3d3c7288bf888a7df5862a28d67ed61ad9b4c7aa5cf8be8/psycopg2-2.4.3.tar.gz#sha256=febd8e35ca9904bf4418e611f866a80639fbca7db2781e5b5cd20589b767af0b (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.2.tar.gz (667 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_835c98c42b09497ab455fb7e51417c4b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_835c98c42b09497ab455fb7e51417c4b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_835c98c42b09497ab455fb7e51417c4b\
    Complete output (14 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4w2a3yq7\psycopg2.egg-info\SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/70/91/345f8eb32dc333331510e1adad858f7a1478d3a1e4aae05ee188985c6b17/psycopg2-2.4.2.tar.gz#sha256=c5f0f853aeeefc7b2aa73b08579e5d74c4c32ad5fca87e058bf04e08273a41a1 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.1.tar.gz (398 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_796489f0d972449685c574c2d957345d\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_796489f0d972449685c574c2d957345d\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_796489f0d972449685c574c2d957345d\
    Complete output (16 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-efsu7u8l\psycopg2.egg-info\SOURCES.txt'
    'pg_config' is not recognized as an internal or external command,
    operable program or batch file.
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/82/f8/6c80beb1b58f01f52dcdfa52bc1668caa4e3fc4927e9230edc40afa98c05/psycopg2-2.4.1.tar.gz#sha256=f8ee9a4004afbd1ff1a1db8df7910475d6ec26e102aa92c9214cbeb1ef39ff49 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.4.tar.gz (607 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2c46f1c7cca94d21b82df3041d51b1ac\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2c46f1c7cca94d21b82df3041d51b1ac\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2c46f1c7cca94d21b82df3041d51b1ac\
    Complete output (16 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j\psycopg2.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j\psycopg2.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j\psycopg2.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j\psycopg2.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5kryln0j\psycopg2.egg-info\SOURCES.txt'
    'pg_config' is not recognized as an internal or external command,
    operable program or batch file.
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ce/2d/e9e65ee32ef2657028109bd5a1c1ece97e409ebf790b6ee286aae2c6b890/psycopg2-2.4.tar.gz#sha256=f41623c413283f101b61ba2356f92cc1890b00308aea970124ebd6178ac5c3a5 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.3.2.tar.gz (568 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_39bc6cdd290e4b2fa371e586e6b866dd\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_39bc6cdd290e4b2fa371e586e6b866dd\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-34z8wumr'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_39bc6cdd290e4b2fa371e586e6b866dd\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_39bc6cdd290e4b2fa371e586e6b866dd\setup.py", line 247
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/50/48/32927cbc99633613704950be5013fc144aa0f451a5e0616635a934d94a62/psycopg2-2.3.2.tar.gz#sha256=0ef1df428f5482c41885ee6d9a6975473fc83af5497801abd36dd150a3754c2c (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.3.1.tar.gz (567 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_af79d0f78139422fb2f4d4604b19341a\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_af79d0f78139422fb2f4d4604b19341a\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-1t_woeno'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_af79d0f78139422fb2f4d4604b19341a\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_af79d0f78139422fb2f4d4604b19341a\setup.py", line 247
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cd/7c/6acf5aacd347f3dc1398eca0e2123c35a48efb07617d4d9578e9cd79a1a7/psycopg2-2.3.1.tar.gz#sha256=7aee74fb13f3b51571fa84cebeeeb29b4230e7553f554f228636c6754752c4e4 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.3.0.tar.gz (588 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2ffa5091660a4ccebd5d782637c0d38d\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2ffa5091660a4ccebd5d782637c0d38d\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-my1vuhsi'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2ffa5091660a4ccebd5d782637c0d38d\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2ffa5091660a4ccebd5d782637c0d38d\setup.py", line 247
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/68/0a/459df8dcbcc118ca435e9567abceaab919706908d52139e503f6396c4935/psycopg2-2.3.0.tar.gz#sha256=c17a06b7468debba94fa151d3ad93cd885d9cbe9a751e54ceb87738d5f0478ea (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.2.2.tar.gz (530 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_c77e8091443a4612910514f3da4ddc2e\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_c77e8091443a4612910514f3da4ddc2e\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-bpma8jfu'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_c77e8091443a4612910514f3da4ddc2e\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_c77e8091443a4612910514f3da4ddc2e\setup.py", line 245
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/63/3e/a4a35761eb4595fff89e63347b4f8e79c2095782fa5bc016a6dfb18b21ac/psycopg2-2.2.2.tar.gz#sha256=21a33d5b2609103512748098a06249492cc294790e07638fadc68cf06eeac39d (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.2.1.tar.gz (529 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_94f1bb12c3614b618a8b3d9236681385\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_94f1bb12c3614b618a8b3d9236681385\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5lch84my'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_94f1bb12c3614b618a8b3d9236681385\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_94f1bb12c3614b618a8b3d9236681385\setup.py", line 239
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/de/c4/fdfb801035bd7da9e1ce98169d48ca2d6dee5b4361e349afbba40b3d7a5d/psycopg2-2.2.1.tar.gz#sha256=b0eca4e8438025dc57cacbea4e8ca2f5dc0554d41b1cdcc177757a5fc413f3d1 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.2.0.tar.gz (528 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9a1040d61e6e4241baf066699b67b86b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_9a1040d61e6e4241baf066699b67b86b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-acss_jtk'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_9a1040d61e6e4241baf066699b67b86b\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_9a1040d61e6e4241baf066699b67b86b\setup.py", line 238
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/32/0c/2f4da04ae2a66d71eff37f19fce67506ad28f887851cd1c1cca35ba08b36/psycopg2-2.2.0.tar.gz#sha256=e70a8eabc491318beef4cd9cd9245a4d8dc62ee31cb74e7988913a66bb33f858 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.0.14.tar.gz (491 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2e0ebea49b2042e8a5c9f4e8efa1cdb1\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_2e0ebea49b2042e8a5c9f4e8efa1cdb1\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-0_tl35bt'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2e0ebea49b2042e8a5c9f4e8efa1cdb1\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_2e0ebea49b2042e8a5c9f4e8efa1cdb1\setup.py", line 238
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e0/1c/f0843f50a69fba3db880e9b267d36f6709bbf31a36fc46b82f75e8975ede/psycopg2-2.0.14.tar.gz#sha256=902607cdbe1195a00694d2b477eed8429eda433caaa0eb6ff7f80883e1c17ac7 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.0.13.tar.gz (258 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_f4e437e9408a47e7a1f88017e1f91c1f\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_f4e437e9408a47e7a1f88017e1f91c1f\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-hiqyu3z8'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_f4e437e9408a47e7a1f88017e1f91c1f\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_f4e437e9408a47e7a1f88017e1f91c1f\setup.py", line 233
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3a/7a/968afcb86b1958ae963a3aaa42c561e3ed2c2d4a8b773622b03856a16248/psycopg2-2.0.13.tar.gz#sha256=a15e622e101b16aa8ad44813d8fb1eced91379396c054aacbfa3ad658352332b (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.0.12.tar.gz (256 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_caeda82864274855b77d81e7854f662c\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_caeda82864274855b77d81e7854f662c\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-qau6bzer'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_caeda82864274855b77d81e7854f662c\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_caeda82864274855b77d81e7854f662c\setup.py", line 225
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6a/8d/ee5c330823d527a5cd14c833063f825211d7b5de6e4897f72e250c107d85/psycopg2-2.0.12.tar.gz#sha256=542c187531e756867fb60034c393b6f2beca34eeeb3ce2e0089a2b6fb8be1292 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.0.11.tar.gz (255 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_884e143478f04bae996c759360c5ab69\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_884e143478f04bae996c759360c5ab69\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-x1_secft'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_884e143478f04bae996c759360c5ab69\
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_884e143478f04bae996c759360c5ab69\setup.py", line 225
        except Warning, w:
                      ^
    SyntaxError: invalid syntax
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/2d/d7/496da11d7c81971870ddd36800419c4f84e8f6208aac5eabedf9f7748729/psycopg2-2.0.11.tar.gz#sha256=e6b4e0e41df97441eff34e00065376414da6488e0d55848a45cd77551dbae434 (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-2.0.10.tar.gz (255 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6ca82ecb0cb2423a830597ba1863831b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2_6ca82ecb0cb2423a830597ba1863831b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9n5s70kn'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_6ca82ecb0cb2423a830597ba1863831b\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2_6ca82ecb0cb2423a830597ba1863831b\setup.py", line 50, in <module>
        import ConfigParser
    ModuleNotFoundError: No module named 'ConfigParser'
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/19/79/35c7596bab4456f3610c12ec542a94d51c6781ced587d1d85127210b879b/psycopg2-2.0.10.tar.gz#sha256=e40cc04b43849085725076ae134bfef9e3b087f6dd7c964aeeb930e2f0bc14ab (from https://pypi.org/simple/psycopg2/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Requirement already satisfied: psycopg2-binary in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 35)) (2.8.6)
Collecting psycopg2-binary
  Using cached psycopg2_binary-2.8.6-cp39-cp39-win_amd64.whl (1.2 MB)
  Using cached psycopg2-binary-2.8.5.tar.gz (381 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_ec1d5c220557455fa0e9be3d9033620b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_ec1d5c220557455fa0e9be3d9033620b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_ec1d5c220557455fa0e9be3d9033620b\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-vk2yy7k_\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <https://www.psycopg.org/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/97/00/ed4c82364741031d745867f83820d4f373aa891098a5785841850491c9ba/psycopg2-binary-2.8.5.tar.gz#sha256=ccdc6a87f32b491129ada4b87a43b1895cf2c20fdb7f98ad979647506ffc41b6 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.8.4.tar.gz (378 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_b7d99ac66c1b49928eb6b98ddd77f651\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_b7d99ac66c1b49928eb6b98ddd77f651\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_b7d99ac66c1b49928eb6b98ddd77f651\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-f1k8y106\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/00/7b/a623f49b3248957e7eaaac52eba1117209775d54e7a8501c460473a7ba4f/psycopg2-binary-2.8.4.tar.gz#sha256=3a2522b1d9178575acee4adf8fd9f979f9c0449b00b4164bb63c3475ea6528ed (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.8.3.tar.gz (378 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_1f3bf33ef68b425194a68a43dd4f7ef9\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_1f3bf33ef68b425194a68a43dd4f7ef9\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_1f3bf33ef68b425194a68a43dd4f7ef9\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-4vub97bi\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/80/91/91911be01869fa877135946f928ed0004e62044bdd876c1e0f12e1b5fb90/psycopg2-binary-2.8.3.tar.gz#sha256=cd37cc170678a4609becb26b53a2bc1edea65177be70c48dd7b39a1149cabd6e (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.8.2.tar.gz (369 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_077f4c10b0fc4e368c81dd7626e3b447\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_077f4c10b0fc4e368c81dd7626e3b447\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_077f4c10b0fc4e368c81dd7626e3b447\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-fx28pbr5\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/dc/93/bb5655730913b88f9068c6b596177d1df83be0d476671199e17b06ea8436/psycopg2-binary-2.8.2.tar.gz#sha256=4c2d9369ed40b4a44a8ccd6bc3a7db6272b8314812d2d1091f95c4c836d92e06 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.8.1.tar.gz (368 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_78ba19dfc68f4c5db25e43e1b5131411\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_78ba19dfc68f4c5db25e43e1b5131411\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_78ba19dfc68f4c5db25e43e1b5131411\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-txa10806\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a6/fb/158c6f1dfcc0f0ceb4c3687378b965269079e55de5630c173dd163c6ab21/psycopg2-binary-2.8.1.tar.gz#sha256=a20dfdf73f56da674926a3811929cff9fd23b9af90be9a6c36ac246a3486eef3 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.8.tar.gz (368 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_b1c4c1b9b1a146b09fdf6e7180d33797\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_b1c4c1b9b1a146b09fdf6e7180d33797\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_b1c4c1b9b1a146b09fdf6e7180d33797\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-g7t7qfcf\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/45/81/ce42d2f87b81616c33284ea52e0b914e45dcae6093655d53602d515aaf57/psycopg2-binary-2.8.tar.gz#sha256=50647aa5f7171153a5f7fa667f99f55468b9b663b997927e4d2e83955b21aa9f (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.7.7.tar.gz (428 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_c19662643cc9485c808c8daa225392aa\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_c19662643cc9485c808c8daa225392aa\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_c19662643cc9485c808c8daa225392aa\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-9nlmuwlg\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/dd/56/c22da10f5a725d61c58a185ec0f803aa2d384646ee8eb83d8ce88ed5edb1/psycopg2-binary-2.7.7.tar.gz#sha256=b19e9f1b85c5d6136f5a0549abdc55dcbd63aba18b4f10d0d063eb65ef2c68b4 (from https://pypi.org/simple/psycopg2-binary/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.7.6.1.tar.gz (428 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_736806c00b4243dab327223efd2ed298\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_736806c00b4243dab327223efd2ed298\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_736806c00b4243dab327223efd2ed298\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-rcqlj7jk\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/59/64/7b0fea58c9b7c609717cc951607fe5edb73e86d46a47b0c7d58586335e53/psycopg2-binary-2.7.6.1.tar.gz#sha256=8d517e8fda2efebca27c2018e14c90ed7dc3f04d7098b3da2912e62a1a5585fe (from https://pypi.org/simple/psycopg2-binary/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.7.6.tar.gz (428 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_dc842c8383494dfd910d1510fdab7933\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_dc842c8383494dfd910d1510fdab7933\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_dc842c8383494dfd910d1510fdab7933\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-5cf05kpq\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c0/40/4a48479ac9fdc3e2ffbaf0cebba5c9414a9591588fe550679762b21751dd/psycopg2-binary-2.7.6.tar.gz#sha256=80bf63fa9493c82d72788376c7342a27b8c4f07971be405cbb886c6b025bebc8 (from https://pypi.org/simple/psycopg2-binary/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.7.5.tar.gz (427 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_a96c83bd121e427186df68a994ea086b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_a96c83bd121e427186df68a994ea086b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_a96c83bd121e427186df68a994ea086b\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-w_nm653b\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/17/dc/3f6bfae668594013cb9ef0cba4f4863451220944650868ad67332ca9069c/psycopg2-binary-2.7.5.tar.gz#sha256=c2ac7aa1a144d4e0e613ac7286dae85671e99fe7a1353954d4905629c36b811c (from https://pypi.org/simple/psycopg2-binary/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached psycopg2-binary-2.7.4.tar.gz (426 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_a901e808e0b248c0914f3c0c20731b9b\\setup.py'"'"'; __file__='"'"'C:\\Users\\simon\\AppData\\Local\\Temp\\pip-install-j0v4ptj3\\psycopg2-binary_a901e808e0b248c0914f3c0c20731b9b\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4'
         cwd: C:\Users\simon\AppData\Local\Temp\pip-install-j0v4ptj3\psycopg2-binary_a901e808e0b248c0914f3c0c20731b9b\
    Complete output (23 lines):
    running egg_info
    creating C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4\psycopg2_binary.egg-info
    writing C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4\psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4\psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4\psycopg2_binary.egg-info\top_level.txt
    writing manifest file 'C:\Users\simon\AppData\Local\Temp\pip-pip-egg-info-eqw7zjb4\psycopg2_binary.egg-info\SOURCES.txt'

    Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/77/09/4991fcd9a8f4bea1ee3948e1729fa17c184d25bd10809bacc143626361b9/psycopg2-binary-2.7.4.tar.gz#sha256=de4f88f823037a71ea5ef3c1041d96b8a68d73343133edda684fd42f575bd9d7 (from https://pypi.org/simple/psycopg2-binary/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Requirement already satisfied: pyasn1 in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 36)) (0.4.8)
Collecting pyasn1
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
  Using cached pyasn1-0.4.7-py2.py3-none-any.whl (76 kB)
Requirement already satisfied: pyasn1-modules in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 37)) (0.2.8)
Collecting pyasn1-modules
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
  Using cached pyasn1_modules-0.2.7-py2.py3-none-any.whl (131 kB)
Requirement already satisfied: pycparser in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 38)) (2.20)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
  Using cached pycparser-2.19.tar.gz (158 kB)
Requirement already satisfied: pyopenssl in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 39)) (20.0.1)
Collecting pyopenssl
  Using cached pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)
  Using cached pyOpenSSL-20.0.0-py2.py3-none-any.whl (54 kB)
Requirement already satisfied: pyparsing in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 40)) (2.4.7)
Collecting pyparsing
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
  Using cached pyparsing-2.4.6-py2.py3-none-any.whl (67 kB)
Requirement already satisfied: python-dateutil in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 41)) (2.8.1)
Collecting python-dateutil
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
  Using cached python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
Requirement already satisfied: pytz in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 42)) (2020.5)
Collecting pytz
  Using cached pytz-2020.5-py2.py3-none-any.whl (510 kB)
  Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Requirement already satisfied: requests in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 43)) (2.25.1)
Collecting requests
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
  Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: requests-oauthlib in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 44)) (1.3.0)
Collecting requests-oauthlib
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
  Using cached requests_oauthlib-1.2.0-py2.py3-none-any.whl (22 kB)
Requirement already satisfied: rsa in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 45)) (4.7)
Collecting rsa
  Using cached rsa-4.7-py3-none-any.whl (34 kB)
  Using cached rsa-4.6-py3-none-any.whl (47 kB)
Requirement already satisfied: setuptools in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 46)) (52.0.0)
Collecting setuptools
  Using cached setuptools-52.0.0-py3-none-any.whl (784 kB)
  Using cached setuptools-51.3.3-py3-none-any.whl (786 kB)
Requirement already satisfied: sgmllib3k in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 47)) (1.0.0)
Collecting sgmllib3k
  Using cached sgmllib3k-1.0.0.tar.gz (5.8 kB)
Requirement already satisfied: six in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 48)) (1.15.0)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: sqlparse in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 49)) (0.4.1)
Collecting sqlparse
  Using cached sqlparse-0.4.1-py3-none-any.whl (42 kB)
  Using cached sqlparse-0.4.0-py3-none-any.whl (42 kB)
Requirement already satisfied: tzlocal in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 50)) (2.1)
Collecting tzlocal
  Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB)
  Using cached tzlocal-2.0.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: uritemplate in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 51)) (3.0.1)
Collecting uritemplate
  Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
  Using cached uritemplate-3.0.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: urllib3 in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 52)) (1.26.2)
Collecting urllib3
  Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
  Using cached urllib3-1.26.1-py2.py3-none-any.whl (136 kB)
Requirement already satisfied: wheel in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 53)) (0.36.2)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
  Using cached wheel-0.36.1-py2.py3-none-any.whl (34 kB)
Requirement already satisfied: youtube-dl in c:\program files\python39\lib\site-packages (from -r .\requirements.txt (line 54)) (2021.1.24.1)
Collecting youtube-dl
  Using cached youtube_dl-2021.1.24.1-py2.py3-none-any.whl (1.9 MB)
  Using cached youtube_dl-2021.1.16-py2.py3-none-any.whl (1.9 MB)
Collecting idna
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
```
Probably 20.3.4 had the issue of the unneeded fetch too. Only reverting to 20.3.3 fixes the issue for me.
it did not, but downgrading from 21 keeps the problem. you probably have it fixed now because you went one step further below
Downgrading to 20.3.3 and then upgrading to 20.3.4 causes the error to come back. This means that 20.3.3 is able to ignore something, but does not restore it to a sane state.

The fact that pip 21 causes pip 20.3.4 that otherwise would work fine to behave weirdly suggesta that pip 21 corrupts some piece of "system state". And where is system state stored?

May I suggest that pip 21 is retired from being automatically proposed for an upgrade as in `WARNING: You are using pip version 20.3.4; however, version 21.0 is available.` before more people gets bitten?
Or maybe 20.3.4 really has the problem too: in a clean (new) virtualenv where I only set pip.conf to not use the cache and I only did
```
pip install pip==20.3.4
pip install cvxopt
```
doing `pip install -U cvxopt` causes the unwanted and double fetch.
Pure guess, but could this change in 21.0 be relevant? "Remove support for legacy wheel cache entries that were created with pip versions older than 20.0 (#7502)".
@callegar i was wrong.

I was sure i had version 20.3.4 before updating to 21.0 as i do automatic daily updates and i was sure that the pip updates happened every 2 weeks, so i assumed "the mess" only started happening with version 21.

But i see now that daily updates means i skipped version 20.3.4 as it happened only 3 hours before 21.

My bad.
I did some debugging. The cause to this is similar to #9432. pip would perform exactly one additional download (or cache access) when `-U` is supplied.

@Butterfly-Dragon pip is downloading multiple versions for backtracking, so you see more than one version being downloaded, to find a working combination of your dependencies. But only exactly one of the downloaded versions from each project is superfulous (the one matching the already-installed version).
@uranusjr yeah, i got that... it... should resolve dependencies without having to download everything, even for incompatible operating systems. 😅 As you see it tires to install Linux versions under windows 10. I don't know if that might be due to me installing the linux support under windows (because reasons) but ... it should not work like that.
Would it be possible if you send me your requirements.txt? I am working on a fix and it would be a good test case. My email is available in my GitHub profile if you’re not comfortable with posting it publicly.
[requirements.txt](https://github.com/pypa/pip/files/5879641/requirements.txt)
@uranusjr sure, here. Nothing fancy really, just stuff i need to overcome my cripplingly slow "country interwebz" and enjoy art galleries and youtube content. 😅
@uranusjr, with reference to your comment https://github.com/pypa/pip/issues/9516#issuecomment-768175114, I would like to ask for a quick clarification.

If I understand correctly, after 20.3.3 pip tries to get (either from download or from the cache) two versions of every package may be upgradable. One is the upgrade candidate and the other is the current version. My understanding from your message is that this is for enabling backtracking if the upgrade is not possible or if something goes wrong with it. Is this the case and what is planned to always happen after 20.3.3?

Because 20.3.3 was not doing this, and was working reasonably well, I would like to ask what specific issue the change is trying to solve, because I am having the impression that there is a trade off with other issues. One of them is that whenever the cache cannot be used, this is basically doubling internet traffic, which is of some concern for those under metered connections (some ISPs, connections via UMTS/CDMA, some virtual private servers having networking caps, etc.) or under slow connections (since in these cases it is making package updates twice as slow).

Because almost no other package manager does this (deb, rpm, conda, tlmgr), I wonder if this is really necessary. In principle, it should be only the package metadata, not the whole package that is needed to establish the possibility for an upgrade and the workable version combinations. Furthermore, given that you have the package already installed, wouldn't it be possible to backup that one, or move it to a safe location, rather than re-downloading it to account for the need of a backtrace?
From what I can tell with the available information, the resolver needs to backtrack when it resolves the dependency set you give to it. This is caused by something that changed between 20.3.3 and 21.0, and may or may not be related to the issue being discussed here.

> My understanding from your message is that this is for enabling backtracking if the upgrade is not possible or if something goes wrong with it. Is this the case and what is planned to always happen after 20.3.3?

No, not always. If the already installed version is satisfactory, the resolver would not need to backtrack. But if not, backtrack will be needed and the additional download would happen. But I don’t know which is the case, which is why I asked for your requirements.txt.
i can confirm that flushing the cache and on a new 3.9.1 python install... this still happens.

Ate least 2 packages are always downloaded.

Resolving patch:
diff --git a/src/pip/_internal/resolution/resolvelib/factory.py b/src/pip/_internal/resolution/resolvelib/factory.py
--- a/src/pip/_internal/resolution/resolvelib/factory.py
+++ b/src/pip/_internal/resolution/resolvelib/factory.py
@@ -1,3 +1,4 @@
+import functools
 import logging
 
 from pip._vendor.packaging.utils import canonicalize_name
@@ -65,6 +66,7 @@
 
     from .base import Candidate, Requirement
     from .candidates import BaseCandidate
+    from .found_candidates import IndexCandidateInfo
 
     C = TypeVar("C")
     Cache = Dict[Link, C]
@@ -213,8 +215,8 @@ def _iter_found_candidates(
                     template=template,
                 )
 
-        def iter_index_candidates():
-            # type: () -> Iterator[Candidate]
+        def iter_index_candidate_infos():
+            # type: () -> Iterator[IndexCandidateInfo]
             result = self._finder.find_best_candidate(
                 project_name=name,
                 specifier=specifier,
@@ -228,26 +230,21 @@ def iter_index_candidates():
             all_yanked = all(ican.link.is_yanked for ican in icans)
 
             # PackageFinder returns earlier versions first, so we reverse.
-            versions_found = set()  # type: Set[_BaseVersion]
             for ican in reversed(icans):
                 if not all_yanked and ican.link.is_yanked:
                     continue
-                if ican.version in versions_found:
-                    continue
-                candidate = self._make_candidate_from_link(
+                func = functools.partial(
+                    self._make_candidate_from_link,
                     link=ican.link,
                     extras=extras,
                     template=template,
                     name=name,
                     version=ican.version,
                 )
-                if candidate is None:
-                    continue
-                yield candidate
-                versions_found.add(ican.version)
+                yield ican.version, func
 
         return FoundCandidates(
-            iter_index_candidates,
+            iter_index_candidate_infos,
             installed_candidate,
             prefers_installed,
         )
diff --git a/src/pip/_internal/resolution/resolvelib/found_candidates.py b/src/pip/_internal/resolution/resolvelib/found_candidates.py
--- a/src/pip/_internal/resolution/resolvelib/found_candidates.py
+++ b/src/pip/_internal/resolution/resolvelib/found_candidates.py
@@ -9,20 +9,62 @@
 """
 
 import functools
-import itertools
 
 from pip._vendor.six.moves import collections_abc  # type: ignore
 
 from pip._internal.utils.typing import MYPY_CHECK_RUNNING
 
 if MYPY_CHECK_RUNNING:
-    from typing import Callable, Iterator, Optional
+    from typing import Callable, Iterator, Optional, Set, Tuple
+
+    from pip._vendor.packaging.version import _BaseVersion
 
     from .base import Candidate
 
+    IndexCandidateInfo = Tuple[_BaseVersion, Callable[[], Optional[Candidate]]]
+
+
+def _iter_built(infos):
+    # type: (Iterator[IndexCandidateInfo]) -> Iterator[Candidate]
+    """Iterator for ``FoundCandidates``.
+
+    This iterator is used the package is not already installed. Candidates
+    from index come later in their normal ordering.
+    """
+    versions_found = set()  # type: Set[_BaseVersion]
+    for version, func in infos:
+        if version in versions_found:
+            continue
+        candidate = func()
+        if candidate is None:
+            continue
+        yield candidate
+        versions_found.add(version)
+
+
+def _iter_built_with_prepended(installed, infos):
+    # type: (Candidate, Iterator[IndexCandidateInfo]) -> Iterator[Candidate]
+    """Iterator for ``FoundCandidates``.
+
+    This iterator is used when the resolver prefers the already-installed
+    candidate and NOT to upgrade. The installed candidate is therefore
+    always yielded first, and candidates from index come later in their
+    normal ordering, except skipped when the version is already installed.
+    """
+    yield installed
+    versions_found = {installed.version}  # type: Set[_BaseVersion]
+    for version, func in infos:
+        if version in versions_found:
+            continue
+        candidate = func()
+        if candidate is None:
+            continue
+        yield candidate
+        versions_found.add(version)
+
 
-def _insert_installed(installed, others):
-    # type: (Candidate, Iterator[Candidate]) -> Iterator[Candidate]
+def _iter_built_with_inserted(installed, infos):
+    # type: (Candidate, Iterator[IndexCandidateInfo]) -> Iterator[Candidate]
     """Iterator for ``FoundCandidates``.
 
     This iterator is used when the resolver prefers to upgrade an
@@ -33,16 +75,22 @@ def _insert_installed(installed, others):
     the installed candidate exactly once before we start yielding older or
     equivalent candidates, or after all other candidates if they are all newer.
     """
-    installed_yielded = False
-    for candidate in others:
+    versions_found = set()  # type: Set[_BaseVersion]
+    for version, func in infos:
+        if version in versions_found:
+            continue
         # If the installed candidate is better, yield it first.
-        if not installed_yielded and installed.version >= candidate.version:
+        if installed.version >= version:
             yield installed
-            installed_yielded = True
+            versions_found.add(installed.version)
+        candidate = func()
+        if candidate is None:
+            continue
         yield candidate
+        versions_found.add(version)
 
     # If the installed candidate is older than all other candidates.
-    if not installed_yielded:
+    if installed.version not in versions_found:
         yield installed
 
 
@@ -56,11 +104,11 @@ class FoundCandidates(collections_abc.Sequence):
     """
     def __init__(
         self,
-        get_others,  # type: Callable[[], Iterator[Candidate]]
+        get_infos,  # type: Callable[[], Iterator[IndexCandidateInfo]]
         installed,  # type: Optional[Candidate]
         prefers_installed,  # type: bool
     ):
-        self._get_others = get_others
+        self._get_infos = get_infos
         self._installed = installed
         self._prefers_installed = prefers_installed
 
@@ -73,16 +121,12 @@ def __getitem__(self, index):
 
     def __iter__(self):
         # type: () -> Iterator[Candidate]
+        infos = self._get_infos()
         if not self._installed:
-            return self._get_others()
-        others = (
-            candidate
-            for candidate in self._get_others()
-            if candidate.version != self._installed.version
-        )
+            return _iter_built(infos)
         if self._prefers_installed:
-            return itertools.chain([self._installed], others)
-        return _insert_installed(self._installed, others)
+            return _iter_built_with_prepended(self._installed, infos)
+        return _iter_built_with_inserted(self._installed, infos)
 
     def __len__(self):
         # type: () -> int


Test patch:
diff --git a/tests/functional/test_new_resolver.py b/tests/functional/test_new_resolver.py
--- a/tests/functional/test_new_resolver.py
+++ b/tests/functional/test_new_resolver.py
@@ -1253,3 +1253,28 @@ def test_new_resolver_lazy_fetch_candidates(script, upgrade):
     # But should reach there in the best route possible, without trying
     # candidates it does not need to.
     assert "myuberpkg-2" not in result.stdout, str(result)
+
+
+def test_new_resolver_no_fetch_no_satisfying(script):
+    create_basic_wheel_for_package(script, "myuberpkg", "1")
+
+    # Install the package. This should emit a "Processing" message for
+    # fetching the distribution from the --find-links page.
+    result = script.pip(
+        "install",
+        "--no-cache-dir", "--no-index",
+        "--find-links", script.scratch_path,
+        "myuberpkg",
+    )
+    assert "Processing " in result.stdout, str(result)
+
+    # Try to upgrade the package. This should NOT emit the "Processing"
+    # message because the currently installed version is latest.
+    result = script.pip(
+        "install",
+        "--no-cache-dir", "--no-index",
+        "--find-links", script.scratch_path,
+        "--upgrade",
+        "myuberpkg",
+    )
+    assert "Processing " not in result.stdout, str(result)