adodb.NewADOConnection('postgres') returns None
Thomas Jollans
thomas at jollans.com
Tue Jul 13 17:35:01 EDT 2010
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
More information about the Python-list
mailing list