我在安装 cx_oracle 时遇到问题。我已经安装了 oracle instantclient 和 cx_oracle oracle 软件包,我在导入 cx_oracle 时遇到了这个错误。我正在运行 ubuntu 11.10 作为主机。
import cx_Oracle
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: /usr/lib/python2.7/dist-packages/cx_Oracle.so: undefined symbol:PyUnicodeUCS2_AsEncodedString
任何人都知道如何解决这个问题
干杯