hi srini,
i don't know what your system configuration was like for the
installation, but from what i saw in your post (below), it just seems
like /usr/local/pgsql/bin was not in your path since it looks like
"sh" could not find the pg_config command, not Python (which choked
afterwards).
anyway,
Thanks Bill, and wesley,
Psycopg worked for me. I had to use setup.cfg .
Regular setup.py did not work.
AFA, pygresql I did used this some 2 years back.
However, the install was pretty easy due to proper
redhat rpm updates. I felt more comfortable with
PyGreSQL. I liked it somehow.
tar -xvf
> >I tried to install pygresql: version: 3.8, it failed
> >throwing exception : Exception: pg_config tool is not
> >available.
> >
> >I gave another try on google and Postgres site and
> >found Pypgsql, PoPy and psycopg1.
>
> I think that psycopg is generally considered the preferred
> package.
a
On Fri, Mar 31, 2006, Srinivas Iyyer wrote:
>Dear group,
>
>I want to connect python to postgresql.
>My python dist. is 2.4.2
>My postgres: 8.1.2
>My system: Linux Enterprise Linux, Intel Xeon, 4GB
>RAM.
>
>I tried to install pygresql: version: 3.8, it failed
>throwing exception : Exception: pg_c