I\'m getting an error whilst trying to install psycopg2 on ubuntu 9.10 64 bit.
The error is:
>>> import psycopg2
Traceback (most recent call
I had the same error when importing bx.intervals from bx-python:
undefined symbol: PyUnicodeUCS2_Decode
However, the python version I was using was already compiled with ucs4. Apparently, bx-python was built against a python version that was compiled with ucs2. So I had to recompile python in the opposite way described by the OP: ./configure --enable-unicode=ucs2.