this looks like an install problem. that .pyc files are being referenced in a
stack trace seems fishy already. I'd ensure that all prior versions of SQLA
are completely blown away before installing the new version.
On Jun 1, 2010, at 5:46 PM, Emanuele Gesuato wrote:
> Hi there,
>
> I'm trying to port an application from sqlalchemy 0.5 to 0.6 but i got
> a strange error when i try to run the program in windows xp. The log
> is the following:
>
> Traceback (most recent call last):
> File "database.pyc", line 20, in <module>
> File "sqlalchemy\engine\__init__.pyc", line 237, in create_engine
> File "sqlalchemy\engine\strategies.pyc", line 46, in create
> File "sqlalchemy\engine\url.pyc", line 99, in get_dialect
> ImportError: No module named postgresql
>
> The row is the following:
> pg_db = create_engine('postgresql://user:p...@localhost:5432/db',
> convert_unicode=True)
>
> I'm using python 2.5 with psycopg 2.2.1 and postgresql 8.3.
>
> But i tried python 2.6 and the program starts fine. I read in your
> site that python 2.4+ is supported: am i missing something important ?
>
> Thanks
> Emanuele
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
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.