I'm trying to install psycopg2 on my system. I followed the
instruction in INSTALL file and gave the command
python setup.py build
running build
running build_py
running build_ext
error: No such file or directory
I ran into this some days ago. The problem is not related to the
distribution you downloaded, but to missing information about PostgreSQL
itself.
IIRC the file in question is "/usr/bin/pg_config". The file is probably packaged
in some lib*-dev package on your distribution.
--- Debian example ---
$ apt-file search /usr/bin/pg_config
libpq-dev: /usr/bin/pg_config
--- snip ---
thanks for all the fish
Wolodja
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQIcBAEBCAAGBQJKuodHAAoJEIt/fTDK8U78+VgQAKdQ+43mhG6/qEfWZBxQnqbY
4/0k2104/skddNs0hTyaIMzuWvDUu+VZjCqbRwvkBULUB8e+2MyUaT+Hl61TYQgd
N+J+Xw9VkdBx8Lkh/HoX6D1ReAImMdH0SiKmOYJbBWzijvTVa6GVjKwuT8ltTxyu
nUDseY/FS7HtjknCUI91m/vvkSzsJRLOWiBpAMvo0pcX9YSbsVdM20Caqgv0DtgY
Ff5PJEHgFksCX9SSJeskgogRPdRUBlbyC4P26wk2LS/SViAxLmEZ4Qfx9kNJW3z6
HfYAu4aNlBeF6H9D0V+YJHSYdy72ftVYLOaS/qRgZevNngWOAPszwg9hLfBOOcC1
+Dk4DBWPCSSW1luByMIzZBSLd9DQ6D9l4efsjUsd8Y88LLQfl1cju64Mqp6D9wMt
BR2SlMrq3f+ww9THkvXLE9Ha5fl4PsW4G36sihaAUoeXBNYsIHd76snqJhtM6Ct5
n4PsOOn30TkPChEch8OBBBAFwQd5McvDXqz589mEh+29Dg6VStJ1kL7QDhfpdCUm
JodVoqqHwmRsuP+rSwoe4OL7Ir2uzNn21mcATKu1xWP85FYQLc44dFMNpuv653CY
pv/qqQjEM8tUEvIPT9NQ2cOG0ssF9kkj7mn4tMa7G3F7149ttl4Ojj6ZcU++ifXX
B9fnpsnZA6IWSyEUvAjv
=4zfA
-----END PGP SIGNATURE-----