undefined symbol: PyUnicodeUCS2_Decode whilst trying to install psycopg2

前端 未结 4 1157
清歌不尽
清歌不尽 2020-12-18 09:15

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         


        
4条回答
  •  感情败类
    2020-12-18 09:40

    Like you say, your Python has been built UCS4. But the psycopg2 you're trying to install has been built against a Python built UCS2. Find one or build one against UCS4.

提交回复
热议问题