Hi,
I've installed SQLalchemy and I've tried to connect to mysql db, and
all run correctly.
But, If I try to connect to a postgres db I receive thi message:

>>> from sqlalchemy import *
>>> db = create_engine('postgres://mando:[EMAIL PROTECTED]:5432/mydb')

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in -toplevel-
    db =
create_engine('postgres://mando:[EMAIL PROTECTED]:5432/pyarchinit')
  File "build\bdist.win32\egg\sqlalchemy\engine\__init__.py", line 91,
in create_engine
  File "build\bdist.win32\egg\sqlalchemy\engine\strategies.py", line
52, in create
InvalidRequestError: Cant get DBAPI module for dialect
'<sqlalchemy.databases.postgres.PGDialect object at 0x0149E990>'
>>>

With "pgAdmin III" intarface these username and password are correct.

Some suggestions?

bye bye and thanks
mando


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to