muchas gracias, finalmente tan solo con el sinaptics instale el phyton-pygresql  y asi pude probra el codigo q tenia.

adios!!!!

------------------------------------------------------ 
        Alejandro Sepúlveda Sotomayor 
                http://www.jalitrox.cl.kz
                        jalitrox@msn.com
                                 08 - 4895394
        

From: "Jaime Casanova" <systemguards@gmail.com>
To: "Alejandro Sepúlveda Sotomayor" <jalitrox@msn.com>
CC: pgsql-es-ayuda@postgresql.org
Subject: Re: [pgsql-es-ayuda] Error en Python con Postgres en: import pgdb
Date: Sun, 3 Jun 2007 05:49:57 +0000
MIME-Version: 1.0
Received: from postgresql.org ([200.46.204.71]) by bay0-mc8-f12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 2 Jun 2007 22:51:41 -0700
Received: from localhost (maia-4.hub.org [200.46.204.183])by postgresql.org (Postfix) with ESMTP id 6BD4E9FB66D;Sun, 3 Jun 2007 02:51:40 -0300 (ADT)
Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 75077-01; Sun, 3 Jun 2007 02:51:39 -0300 (ADT)
Received: from postgresql.org (postgresql.org [200.46.204.71])by postgresql.org (Postfix) with ESMTP id C98729FB56C;Sun, 3 Jun 2007 02:51:38 -0300 (ADT)
Received: from localhost (maia-5.hub.org [200.46.204.182])by postgresql.org (Postfix) with ESMTP id 18C149FB53Afor <pgsql-es-ayuda-postgresql.org@postgresql.org>; Sun, 3 Jun 2007 02:50:04 -0300 (ADT)
Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 52977-08 for <pgsql-es-ayuda-postgresql.org@postgresql.org>; Sun, 3 Jun 2007 02:49:58 -0300 (ADT)
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250])by postgresql.org (Postfix) with ESMTP id 740D99FB528for <pgsql-es-ayuda@postgresql.org>; Sun, 3 Jun 2007 02:49:59 -0300 (ADT)
Received: by an-out-0708.google.com with SMTP id c36so256104ana for <pgsql-es-ayuda@postgresql.org>; Sat, 02 Jun 2007 22:49:58 -0700 (PDT)
Received: by 10.100.209.10 with SMTP id h10mr1904696ang.1180849797741; Sat, 02 Jun 2007 22:49:57 -0700 (PDT)
Received: by 10.100.153.6 with HTTP; Sat, 2 Jun 2007 22:49:57 -0700 (PDT)
>On 6/3/07, Alejandro Sepúlveda Sotomayor <jalitrox@msn.com> wrote:
>>Este es una interfaz para conectar a la BD... Muestro el codigo:
>>
>
>obviamente no me hice entender, lo que queria saber es el nombre del
>driver (psycopg2 o pygresql)
>
>pero ya encontre que es pygresql asi que te recomendaria que leas
>aca:
>http://www.pygresql.org/install.html
>
>entre otras cosas ahi dice:
>"
>PyGreSQL will be installed as three modules, a dynamic module called
>_pg.pyd, and two pure Python wrapper modules called pg.py and
>pgdb.py.
>All three files will be installed directly into the Python
>site-packages directory. To uninstall PyGreSQL, simply remove these
>three files again.
>"
>
>asi que yo revisaria que en el directorio site-packages de tu
>instalacion de python esten esos 3 archivos y que la variable de
>ambiente PYTHONDIR (aso creo que se llama) este seteada
>
>--
>Atentamente,
>Jaime Casanova
>
>"Programming today is a race between software engineers striving to
>build bigger and better idiot-proof programs and the universe trying
>to produce bigger and better idiots.
>So far, the universe is winning."
> Richard Cook
>
>---------------------------(fin del
>mensaje)---------------------------
>TIP 1: para suscribirte y desuscribirte, visita
>http://archives.postgresql.org/pgsql-es-ayuda


Consigue aquí las mejores y mas recientes ofertas de trabajo EE.UU. Clic aquí