powered by simpleCommunicator - 2.0.36     © 2025 Programmizd 02
Форумы / PHP, Perl, Python [игнор отключен] [закрыт для гостей] / python27+psycopg2 in windows
1 сообщений из 1, страница 1 из 1
python27+psycopg2 in windows
    #40038733
Kirill96
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Подскажите как правильно указать путь к конфигу postgre:

>easy_install C:\Downloads\psycopg2-2.6.1.tar.gz

Выдает:

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'.
error: Setup script exited with 1


Пробую задать в setup.cfg:

pg_config="C:\Program Files\PostgreSQL\9.6\bin\pg_config.exe"
или
pg_config="C:\Program Files\PostgreSQL\9.6\bin"
или
pg_config="C:\\Program Files\\PostgreSQL\\9.6\\bin"

Безуспешно
...
Рейтинг: 0 / 0
1 сообщений из 1, страница 1 из 1
Форумы / PHP, Perl, Python [игнор отключен] [закрыт для гостей] / python27+psycopg2 in windows
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]