Mac + Virtualenv + Pip + Postgresql = Fehler: Ausführbare Datei pg_config nicht gefundenPython

Python-Programme
Anonymous
 Mac + Virtualenv + Pip + Postgresql = Fehler: Ausführbare Datei pg_config nicht gefunden

Post by Anonymous »

Ich habe versucht, Postgres für ein Tutorial zu installieren, aber pip gibt mir die Fehlermeldung:

Code: Select all

pip install psycopg
Ein kleiner Fehler, den ich erhalte:

Code: Select all

Error: pg_config executable not found.

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'.
Wo ist pg_config in meiner virtuellen Umgebung? Wie konfiguriere ich es? Ich verwende Virtualenv, weil ich keine systemweite Installation von Postgres möchte.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post