On Wed, Sep 23, 2009 at 12:24 -0700, devaru wrote:
> 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

Attachment: signature.asc
Description: Digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to