SORU
23 Temmuz 2012, PAZARTESİ


yürütülebilir bulundu pg_config değil

Sorun psycopg2 takılması yaşıyorum. 3* *açmaya çalıştığınızda, aşağıdaki hatayı alıyorum:

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'.

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/psycopg2

Ama sorun pg_config PATH; herhangi bir sorun olmadan çalışır benim aslında

$ which pg_config
/usr/pgsql-9.1/bin/pg_config

setup.cfg dosyaya pg_config yol ekleme ve kaynak kendi web sitesi (http://initd.org/psycopg/) indirdim ve aşağıdaki hata iletisini alıyorum dosyalarını kullanarak bina çalıştım!

Error: Unable to find 'pg_config' file in '/usr/pgsql-9.1/bin/'

Ama aslında YOK!!!

Bu hatalar tarafından şaşkınım. Herkes lütfen yardımcı olabilir mi?

Bu arada, 10 ** tüm komutları. Ayrıca RHEL 5.5 kullanıyorum.

CEVAP
20 AĞUSTOS 2012, PAZARTESİ


pg_config postgresql-devel (Debian/libpq-dev Ubuntu)

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • 30GB

    30GB

    14 AĞUSTOS 2006
  • Matt Steffanina

    Matt Steffan

    1 EYLÜL 2011
  • World Science Festival

    World Scienc

    1 Mayıs 2008