-
Notifications
You must be signed in to change notification settings - Fork 0
Description
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for psycopg2
Building wheel for psycopg2-binary (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for psycopg2-binary (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\psycopg2
copying lib\compat.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\errorcodes.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\errors.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\extensions.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\extras.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\pool.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\sql.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib\tz.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib_ipaddress.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib_json.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib_lru_cache.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib_range.py -> build\lib.win-amd64-cpython-311\psycopg2
copying lib_init_.py -> build\lib.win-amd64-cpython-311\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-binary
Failed to build Pillow psycopg2 psycopg2-binary
ERROR: Could not build wheels for Pillow, psycopg2, psycopg2-binary, which is required to install pyproject.toml-based projects
I can't install the dependency, I get an error.