X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3DD67D1B482 for ; Fri, 5 Dec 2003 12:33:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 43689-05 for ; Fri, 5 Dec 2003 08:33:13 -0400 (AST) Received: from mx1.tiscali.ch (mx1.tiscali.ch [212.40.5.185]) by svr1.postgresql.org (Postfix) with ESMTP id 41ED3D1B454 for ; Fri, 5 Dec 2003 08:33:10 -0400 (AST) Received: from [128.178.82.3] by mx1.tiscali.ch with HTTP; Fri, 5 Dec 2003 13:33:06 +0100 Date: Fri, 5 Dec 2003 13:33:06 +0100 Message-ID: <3FC6F87D000055F5@mx1.tiscali.ch> From: dbuechel@tiscali.ch Subject: PyGreSQL on Cygwin installation To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=BAYES_30, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200312/21 X-Sequence-Number: 4630 Hello, I'm new to PostgreSQL and to Python. I'm trying to connect to PostgreSQL from Python, but it doesn't work. I've installed Cygwin on my PC (Windows XP) with the packages PostgreSQL and Python. Then I tried to install the pg module (PyGreSQL) (http://www.druid.net/pygresql/). I've followed the instructions of the readme file (compiled PyGreSQL as a stand-alone module), but I get a long list of errors and warnings. Finally when I will connect, I get the message: 'module' object has no attribute 'connect' Any suggestions??? What is the advantage installing PyGreSQL as Stand-Alone to the compiling in Python Interpreter? Thanks for any information and help. Daniela