You may install a binary package by installing ‘psycopg2-binary’ from PyPI [WINDOWS]

  django, docker, python

Hi guys I’m getting this error and I don’t know how to fix this

the command that I run in my console is the following:

pip install -r ..requirementslocal.txt

    It appears you are missing some prerequisite to build the package from source.

    You may install a binary package by installing 'psycopg2-binary' from PyPI.
    If you want to install psycopg2 from source, please install the packages
    required for the build and try again.

    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).

    error: command 'C:Program Files (x86)Microsoft Visual Studio2019BuildToolsVCToolsMSVC14.29.30133binHostX86x64cl.exe' failed with exit code 2

I don’t know how to fix this I really need help

Source: Docker Questions

LEAVE A COMMENT