× Building wheel for psycopg2 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-313\psycopg2
copying lib\errorcodes.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\errors.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\extensions.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\extras.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\pool.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\sql.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib\tz.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib_ipaddress.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib_json.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib_range.py -> build\lib.win-amd64-cpython-313\psycopg2
copying lib__init__.py -> build\lib.win-amd64-cpython-313\psycopg2
running build_ext
building 'psycopg2._psycopg' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psycopg2
Failed to build psycopg2
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psycopg2)
error: subprocess-exited-with-error
× Building wheel for psycopg2 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [18 lines of output] running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-313\psycopg2 copying lib\errorcodes.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\errors.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\extensions.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\extras.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\pool.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\sql.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib\tz.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib_ipaddress.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib_json.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib_range.py -> build\lib.win-amd64-cpython-313\psycopg2 copying lib__init__.py -> build\lib.win-amd64-cpython-313\psycopg2 running build_ext building 'psycopg2._psycopg' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for psycopg2 Failed to build psycopg2 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psycopg2)