On Monday 22 January 2007 14:01, Uwe Grauer wrote:
> Carl Karsten wrote:
> > what is the current way to deal with this:
> >  >>> import psycopg2
> >
> > Traceback (most recent call last):
> >    File "<stdin>", line 1, in ?
> >    File "/usr/lib/python2.4/site-packages/psycopg2/__init__.py", line 60,
> > in ? from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
> > ImportError: can't import mx.DateTime module
> >
> > I thought there was a "just do this instead of that"
> >
> > Carl K
>
> You don't have mx installed on your box.
> Look here for getting it:
> http://egenix.com/files/python/eGenix-mx-Extensions.html#Packages
>
> You need the egenix mx BASE package.
>
> Uwe
>
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Maybe it is my setup - but I don't have egenix installed (SUSE 10.2, Python 
2.5) and it compiles for me.  If I recall psycopg dropped the requirement and 
uses the python date stuff now.

-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to