psycopg2 and python built with ucs2 - Mailing list psycopg

From Scott Rohde
Subject psycopg2 and python built with ucs2
Date
Msg-id CAEPRSL8XWe0kpKasJYAEtvRLy23wEcjA_eyiFsT7UArQeOyVCA@mail.gmail.com
Whole thread Raw
Responses Re: psycopg2 and python built with ucs2  (Scott Rohde <srohde@gmail.com>)
List 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

psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: Fwd: autocommit linux error
Next
From: Joe Abbate
Date:
Subject: Fwd: Psycopg2 2.4.2 on Debian with Python 3