[DB-SIG] Where's datetime?

James Pye lists at jwp.name
Sun Apr 5 08:19:38 CEST 2009


On Apr 4, 2009, at 9:20 PM, Marco A. Gonzalez wrote:

> I'm a newcomer to Python and excited about using with a database,  
> but I can't get one to work despite how easy it purports to be.
>
> After installing Python 3.0.1, and PostgreSQL 8.3 and py-postgresql  
> v0.8.0, and doing the following from the command line:
>
> >>> import postgresql
> >>> db = postgresql.open("pq://localhost/postgres")
>
> I get "ImportError: No module named datetime". Upon further  
> inspection, I see that the protocol directory just doesn't have a  
> datetime file.
>
> Did I miss installing something?  Can someone tell me what I'm doing  
> wrong?

Nope, I did something wrong. Fix coming in a bit. Thanks. Missed a git  
add <file>. sigh. :(


More information about the DB-SIG mailing list