[PyQt] Python3.2 and PyQt 4.9.5 : undefined symbol: PyUnicode_AsLatin1String

tm at tobix.eu tm at tobix.eu
Thu Oct 25 10:54:24 BST 2012


Hello,

when using python 3.2 to run any python program that uses PyQt 4.9.5 I  
get the following error:

ImportError: /usr/local/lib/python3.2/site-packages/PyQt4/QtCore.so:  
undefined symbol: PyUnicode_AsLatin1String

My setup is:
Ubuntu 11.10
Qt 4.8.1
Python 3.2.3
Sip 4.14
PyQt 4.9.5

Before I used Python 3.3 having no problems. Then I had to move to  
Python 3.2.3. So I compiled and installed Sip and PyQt again for use  
with Python 3.2.3.

I would be pleased to get any suggestions,

Tobias



More information about the PyQt mailing list