postgresql database

P

Paolo

Ciao a tutti, sto cercando di implementare un applicazione che si
interfaccia con postgresql(8.1), utilizzando Psycopg2, in ambiente
windows (python versione 2.5). Ho installato Psycopg2 e provando
solamente fare: import psycopg mi ritorna il seguente errore:

import psycopg
ImportError: No module named psycopg

come mai? va settata qualche path oltre a quella di postgresql ?

grazie dell'aiuto
 
M

Michele Simionato

Paolo said:
Ciao a tutti, sto cercando di implementare un applicazione che si
interfaccia con postgresql(8.1), utilizzando Psycopg2, in ambiente
windows (python versione 2.5). Ho installato Psycopg2 e provando
solamente fare: import psycopg mi ritorna il seguente errore:

import psycopg
ImportError: No module named psycopg

come mai? va settata qualche path oltre a quella di postgresql ?

grazie dell'aiuto

Well, if you are using Psycopg2, do

import psycopg2

(and please use the italian mailing list for questions in Italian).

Michele Simionato
 
P

Paolo

Michele Simionato ha scritto:
Well, if you are using Psycopg2, do

import psycopg2

sure, I have mistaken to write the import, the problem was in the
version of the driver. Thank you for tour fast answer.
(and please use the italian mailing list for questions in Italian).

sorry, but I thought to write in the italian mailing list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,190
Latest member
Martindap

Latest Threads

Top