psycopg2 and python built with ucs2

Поиск
Список
Период
Сортировка
От Scott Rohde
Тема psycopg2 and python built with ucs2
Дата
Msg-id CAEPRSL8XWe0kpKasJYAEtvRLy23wEcjA_eyiFsT7UArQeOyVCA@mail.gmail.com
обсуждение исходный текст
Ответы Re: psycopg2 and python built with ucs2  (Scott Rohde <srohde@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Fwd: autocommit linux error
Следующее
От: Joe Abbate
Дата:
Сообщение: Fwd: Psycopg2 2.4.2 on Debian with Python 3