I get an error when trying to install psycopg2 on ubuntu 9.10 64 bit.
Error:
>>> import psycopg2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "psycopg2/__init__.py", line 69, in <module> from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError: psycopg2/_psycopg.so: undefined symbol: PyUnicodeUCS2_Decode
I tried to download the package from http://initd.org/pub/software/psycopg/ and install it. I also tried using easy_install.
Installation error.
This is rather strange since my python (2.6.2) was compiled with UCS4 and so the installation should work without problems.
Any help would be appreciated.
Greetings
source share