psycopg2 and python built with ucs2

From: Scott Rohde <srohde(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: psycopg2 and python built with ucs2
Date: 2011-07-29 17:01:45
Message-ID: CAEPRSL8XWe0kpKasJYAEtvRLy23wEcjA_eyiFsT7UArQeOyVCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Hello,

When I import psycopg2 from python built with ucs2 I get the following error:
ImportError: /usr/local/lib/python2.4/site-packages/psycopg2/_psycopg.so:
undefined symbol: PyUnicodeUCS4_Decode

By recompiling python to use ucs4 this error goes away and I can
successfully use psycopg2.

However, in my situation it would be much more convenient if I could
get psycopg2 to work with python built with ucs2. Is there a simple
way to do that?

Thanks very much,

--
-Scott

Responses

Browse psycopg by date

  From Date Subject
Next Message Joe Abbate 2011-08-05 17:34:14 Fwd: Psycopg2 2.4.2 on Debian with Python 3
Previous Message Daniele Varrazzo 2011-07-26 11:53:06 Re: Fwd: autocommit linux error