Ага, решил эту проблему на убунте именно так, думал что и на дебиане так и сделаю. Фиг!
После того как хочу скомпилировать psycopg2 выдает:
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’.
Ставлю libpq-dev:
Сначала с репы
r@p#apt-get update
r@p#apt-get upgrade
r@p#apt-get install libpq-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpq-dev : Depends: libssl-dev but it is not going to be installed
Depends: libkrb5-dev but it is not going to be installed
Depends: comerr-dev but it is not going to be installed
E: Broken packages
Скачал, распокавал…тоже самое. Если начать удовлетворять зависимости, тоих становится ещё больше.
Может кто сталкивался?