adodb.NewADOConnection('postgres') returns None

Thomas Jollans thomas at jollans.com
Wed Jul 14 14:04:59 EDT 2010


On 07/14/2010 02:14 PM, micayael wrote:
> 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?

It certainly looks that way. It may be possible to install an old
psycopg module by hand - I'd expect that to work as well.



More information about the Python-list mailing list