adodb.NewADOConnection('postgres') returns None

micayael micayael at gmail.com
Wed Jul 14 08:14:08 EDT 2010


On Jul 13, 5:35 pm, Thomas Jollans <tho... at jollans.com> wrote:
> On 07/13/2010 09:55 PM, micayael wrote:
>
> > Hi.
>
> > I'm trying to use adodb for postgres. I had instaled in ubuntu 9.10
> > the adodb and psycopg2 module (sudo apt-get install python-adodb
> > python-psycopg2) but when I put this
>
> > import adodb
> > print adodb.NewADOConnection('postgres') --> None
>
> > but with
>
> > print adodb.NewADOConnection('mysql') -->
> > <adodb.adodb_mysql.adodb_mysql instance at 0xb66b5a0c>
>
> http://packages.ubuntu.com/lucid/python-adodb
>
> Recommends: python-psycopg (Package not available)
>
> If it says it wants psycopg, I wouldn't expect it to work with psycopg2,
> which is probably quite different in some way - otherwise it would be
> called the same.
>
>  - Thomas

Thanks Thomas.
:-( then adodb today dosn't work with postgres (at least on ubuntu)
right?



More information about the Python-list mailing list