pypgsql installation

jeewee jeewee.AND.NO.SPAM at ai.rug.nl
Mon Jun 2 06:39:12 EDT 2003


after installing  postgresql-python.rpm I get this
when I try to run my code:

[jeewee at shakira blog]$ python pg-test.py
Traceback (most recent call last):
  File "getupdates.py", line 5, in ?
    from pyPgSQL import PgSQL
  File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 349, in ?
    from libpq import *
  File "/usr/lib/python2.2/site-packages/pyPgSQL/libpq/__init__.py", line
23, in ?
    from libpq import *
ImportError: /usr/lib/python2.2/site-packages/pyPgSQL/libpq/libpqmodule.so:
undefined symbol: PyUnicodeUCS2_EncodeDecimal

could someone lead me to the light?






More information about the Python-list mailing list