This project is archived and is in readonly mode.

#218 ✓invalid
Psycopg website

Do not depend on pg_config

Reported by Psycopg website | May 27th, 2014 @ 04:00 PM

Submitted by: Alper


For local development our django project needs to install psycopg even though we do not use it locally.

This installation depends on the pg_config command being available somewhere on the system. I can attest to the huge amount of grief this causes my designer coworkers even with the help of homebrew.

Could you make it so that psycopg installs with pip without needing this dependency?

Comments and changes to this ticket

  • Daniele Varrazzo

    Daniele Varrazzo May 27th, 2014 @ 09:21 PM

    • State changed from “new” to “invalid”

    No, we cannot.

    I find hard to think you have libpq installed but not pg_config.

    You can write your own pg_config stub script and fake the questions makes it. We won't guess defaults likely to be broken as it would cause much more grief than yours to people with an installation that is not broken.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="">the new tracker</a>.
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins