Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on pre-installed Postgres libraries #30

Open
aaronsteers opened this issue Jul 2, 2021 · 0 comments
Open

Remove dependency on pre-installed Postgres libraries #30

aaronsteers opened this issue Jul 2, 2021 · 0 comments

Comments

@aaronsteers
Copy link

aaronsteers commented Jul 2, 2021

Apologies if this question has already been asked and answered, but would it be possible to remove the requirement for pre-installed Postgres? Either by refactoring around the dependency on singer-target-postgres or by using a fork that uses psycopg2-binary in place of psycopg2?

It can sometimes be confusing or time consuming for new users to have to install the Postgres dependency ahead of landing data in Snowflake.

Happy to contribute cycles if we can help in any way. Thanks!

Regarding this error message during install:

    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>).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant