Import of cStringIO failing with "undefined symbol: PyObject_SelfIter" on python-2.3.3-88.9

grbgooglefan ganeshborse at gmail.com
Thu Jan 10 11:07:34 CET 2008


I am importing cStringIO module in my PythonC++ embedded program.

The import is failing with the following error:
ImportError: /usr/lib/python2.3/lib-dynload/cStringIO.so: undefined
symbol: PyObject_SelfIter

I have python-2.3.3-88.9.x86 installed on my machine.
Why is this error coming? how can I resolve this undefined symbol?
Do I need to import anything before this?



More information about the Python-list mailing list