From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
---|---|
To: | Alejandro Sepúlveda Sotomayor <jalitrox(at)msn(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Error en Python con Postgres en: import pgdb |
Date: | 2007-06-03 05:49:57 |
Message-ID: | c2d9e70e0706022249q26f0dcaetba9ce5cd09741826@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On 6/3/07, Alejandro Sepúlveda Sotomayor <jalitrox(at)msn(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Oswaldo Hernández | 2007-06-03 08:46:11 | Re: Busqueda de duplicados, con demora. |
Previous Message | Mario Gonzalez | 2007-06-03 05:15:37 | Re: Error en Python con Postgres en: import pgdb |