[Tutor] Python + PostGreSQL

w chun wescpy at gmail.com
Sat Apr 1 04:38:58 CEST 2006


> >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.


as bill has suggested, it does appear that psycopg is the preferred
from what i've seen. popy is outdated and (i believe) merged with
PyGreSQL which is the one that PostgreSQL has in their tree as it's
been around the longest.

however rather than just talking about another adapter because your
current one doesn't work, i'm more curious as to why you are having
problems with PyGreSQL.  i've never had a problem with it... how did
you do your installation?  (yes, we're lucky that PostgreSQL has
multiple adapters available as other RDBMSs don't have these options.)

--wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com


More information about the Tutor mailing list