pyPgSQL giving error!

Gurpreet Sachdeva gurpreet.sachdeva at gmail.com
Thu Jan 13 08:14:35 EST 2005


I am using Redhat 9.0/python2.3. I installed pyPgSQL-2.4.tar.gz and it
was successfull. Now when I am trying to import that module, I got:

Python 2.3.3 (#1, Jan 11 2005, 15:24:09)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyPgSQL import PgSQL
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pyPgSQL/PgSQL.py", line 391, in ?
    from libpq import *
  File "pyPgSQL/libpq/__init__.py", line 23, in ?
    from libpq import *
ImportError: No module named libpq

I tried googling also but couldn't get the answere.
Please help...

~Garry



More information about the Python-list mailing list