Код: Выделить всё
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
Код: Выделить всё
$ which pg_config
/usr/pgsql-9.1/bin/pg_config
Код: Выделить всё
Error: Unable to find 'pg_config' file in '/usr/pgsql-9.1/bin/'
Я озадачен этими ошибками. Кто-нибудь может помочь, пожалуйста?
Кстати, я sudo все команды. Также я использую RHEL 5.5.
Подробнее здесь: https://stackoverflow.com/questions/116 ... -not-found
Мобильная версия